OptionalaccessThe number of seconds before an access token is to expire to raise the accessTokenExpiring event (default: 60)
Optionalacr_optional protocol param
The URL of the OIDC/OAuth2 provider
OptionalautomaticFlag to indicate if there should be an automatic attempt to renew the access token prior to its expiration. The automatic renew attempt starts 1 minute before the access token expires (default: true)
OptionalcheckInterval in seconds to check the user's session (default: 2)
Optionalclient_Client authentication method that is used to authenticate when using the token endpoint (default: "client_secret_post")
See https://openid.net/specs/openid-connect-core-1_0.html#ClientAuthentication
Your client application's identifier as registered with the OIDC/OAuth2
Optionalclient_OptionaldisableWill disable PKCE validation, changing to true will not append to sign in request code_challenge and code_challenge_method. (default: false)
Optionaldisplayoptional protocol param
OptionaldpopDPoP enabled or disabled
OptionalextraAn object containing additional header to be including in request.
OptionalextraAn object containing additional query string parameters to be including in the authorization request.
E.g, when using Azure AD to obtain an access token an additional resource parameter is required. extraQueryParams: {resource:"some_identifier"}
OptionalextraOptionalfetchSets the credentials for fetch requests. (default: "same-origin") Use this if you need to send cookies to the OIDC/OAuth2 provider or if you are using a proxy that requires cookies
OptionalfilterShould optional OIDC protocol claims be removed from profile or specify the ones to be removed (default: true) When true, the following claims are removed by default: ["nbf", "jti", "auth_time", "nonce", "acr", "amr", "azp", "at_hash"] When specifying claims, the following claims are not allowed: ["sub", "iss", "aud", "exp", "iat"]
OptionaliframeThe target to pass while calling postMessage inside iframe for callback (default: window.location.origin)
OptionaliframeThe script origin to check during 'message' callback execution while performing silent auth via iframe (default: window.location.origin)
OptionalincludeFlag to control if id_token is included as id_token_hint in silent renew calls (default: false)
OptionalincludeFlag to control if id_token is included as id_token_hint in silent signout calls (default: false)
OptionalloadFlag to control if additional identity data is loaded from the user info endpoint in order to populate the user's profile (default: false)
Optionalmax_optional protocol param
OptionalmergeIndicates how objects returned from the user info endpoint as claims (e.g. address) are merged into the claims from the
id token as a single object. (default: { array: "replace" })
OptionalmetadataProvide metadata when authority server does not allow CORS on the metadata endpoint
OptionalmetadataCan be used to seed or add additional values to the results of the discovery request
OptionalmetadataOptionalmonitorOptionalmonitorWill raise events for when user has performed a signout at the OP (default: false)
Optionalomithttps://datatracker.ietf.org/doc/html/rfc6749#section-3.3 describes behavior when omitting scopes from sign in requests If the IDP supports default scopes, this setting will ignore the scopes property passed to the config. (Default: false)
Optionalpopup_Optionalpopup_The URL for the page containing the call to signinPopupCallback to handle the callback from the OIDC/OAuth2
OptionalpopupThe features parameter to window.open for the popup signin window. By default, the popup is placed centered in front of the window opener. (default: { location: false, menubar: false, height: 640, closePopupWindowAfterInSeconds: -1 })
OptionalpopupThe target parameter to window.open for the popup signin window (default: "_blank")
Optionalpost_The OIDC/OAuth2 post-logout redirect URI
Optionalpromptoptional protocol param
Optionalquery_The redirect URI of your client application to receive a response from the OIDC/OAuth2 provider
OptionalredirectThe methods window.location method used to redirect (default: "assign")
OptionalredirectThe methods target window being redirected (default: "self")
OptionalrefreshOnly scopes in this list will be passed in the token refresh request.
OptionalrequestDefines request timeouts globally across all requests made to the authorisation server
Optionalresourceoptional protocol param
Optionalresponse_Optional protocol param The response mode used by the authority server is defined by the response_type unless explicitly specified:
Optionalresponse_The type of response desired from the OIDC/OAuth2 provider (default: "code")
OptionalrevokeWill check the content type header of the response of the revocation endpoint to match these passed values (default: [])
OptionalrevokeWill invoke the revocation endpoint on signout if there is an access token for the user (default: false)
OptionalrevokeThe token_type_hints to pass to the authority server by default (default: ["access_token", "refresh_token"])
Token types will be revoked in the same order as they are given here.
OptionalscopeThe scope being requested from the OIDC/OAuth2 provider (default: "openid")
OptionalsigningProvide signingKeys when authority server does not allow CORS on the jwks uri
Optionalsilent_The URL for the page containing the code handling the silent renew
OptionalsilentNumber of seconds to wait for the silent renew to return before assuming it has failed or timed out (default: 10)
OptionalstaleNumber (in seconds) indicating the age of state entries in storage for authorize requests that are considered abandoned and thus can be cleaned up (default: 900)
OptionalstateStorage object used to persist interaction state (default: window.localStorage, InMemoryWebStorage iff no window).
E.g. stateStore: new WebStorageStateStore({ store: window.localStorage })
OptionalstopOptionalui_optional protocol param
OptionaluserStorage object used to persist User for currently authenticated user (default: window.sessionStorage, InMemoryWebStorage iff no window).
E.g. userStore: new WebStorageStateStore({ store: window.localStorage })
OptionalvalidateFlag to validate user.profile.sub in silent renew calls (default: true)
The settings used to configure the UserManager.