interface AuthSignInWithRedirectInput {
    customState?: string;
    options?: {
        preferPrivateSession?: boolean;
    };
    provider?: AuthProvider | {
        custom: string;
    };
}

Properties

customState?: string
options?: {
    preferPrivateSession?: boolean;
}

Type declaration

  • Optional preferPrivateSession?: boolean

    On iOS devices, setting this to true requests that the browser not share cookies or other browsing data between the authentication session and the user’s normal browser session. This will bypass the permissions dialog that is displayed your user during sign-in and sign-out but also prevents reuse of existing sessions from the user's browser, requiring them to re-enter their credentials even if they are already externally logged in on their browser.

    On all other platforms, this flag is ignored.

provider?: AuthProvider | {
    custom: string;
}

Type declaration

  • custom: string