Custom options to pass to login.

interface LoginOptions {
    authorizationParams?: AuthorizationParameters;
    returnTo?: string;
    silent?: boolean;
}

Properties

authorizationParams?: AuthorizationParameters

Override the default authorizationParams, if also passing a custom callback route then AuthorizationParameters.redirect_uri redirect_uri must be provided here or in config

returnTo?: string

URL to return to after login, overrides the Default is Request.originalUrl

silent?: boolean

Used by ConfigParams.attemptSilentLogin to swallow callback errors on silent login.