Skip to content

Opensearch dashboards.authtoolkit.redirected

Home > opensearch-dashboards > AuthToolkit > redirected

AuthToolkit.redirected property

Redirects user to another location to complete authentication when authRequired: true Allows user to access a resource without redirection when authRequired: 'optional'

Signature:

redirected: (headers: {
        location: string;
    } & ResponseHeaders) => AuthResult;