docs/interfaces/management.Management.ConnectionOptionsOAuth2.html
Options for the 'oauth2' connection
interface ConnectionOptionsOAuth2 {
non_persistent_attrs?: ConnectionNonPersistentAttrs;
authParams?: ConnectionAuthParamsOAuth2;
authParamsMap?: ConnectionAuthParamsMap;
authorizationURL?: string;
client_id?: string;
client_secret?: string;
customHeaders?: ConnectionCustomHeadersOAuth2;
fieldsMap?: ConnectionFieldsMap;
icon_url?: string;
logoutUrl?: string;
pkce_enabled?: boolean;
scope?: ConnectionScopeOAuth2;
scripts?: ConnectionScriptsOAuth2;
set_user_root_attributes?: Management.ConnectionSetUserRootAttributesEnum;
tokenURL?: string;
upstream_params?: ConnectionUpstreamParams;
useOauthSpecScope?: boolean;
key: string: any;
}
Accepts any additional properties
non_persistent_attrs?authParams?authParamsMap?authorizationURL?client_id?client_secret?customHeaders?fieldsMap?icon_url?logoutUrl?pkce_enabled?scope?scripts?set_user_root_attributes?tokenURL?upstream_params?useOauthSpecScope?
Optionalnon_persistent_attrsnon_persistent_attrs?: ConnectionNonPersistentAttrs
OptionalauthParamsauthParams?: ConnectionAuthParamsOAuth2
OptionalauthParamsMapauthParamsMap?: ConnectionAuthParamsMap
OptionalauthorizationURLauthorizationURL?: string
Optionalclient_idclient_id?: string
Optionalclient_secretclient_secret?: string
OptionalcustomHeaderscustomHeaders?: ConnectionCustomHeadersOAuth2
OptionalfieldsMapfieldsMap?: ConnectionFieldsMap
Optionalicon_urlicon_url?: string
OptionallogoutUrllogoutUrl?: string
Optionalpkce_enabledpkce_enabled?: boolean
When true, enables Proof Key for Code Exchange (PKCE) for the authorization code flow. PKCE provides additional security by preventing authorization code interception attacks.
Optionalscopescope?: ConnectionScopeOAuth2
Optionalscriptsscripts?: ConnectionScriptsOAuth2
Optionalset_user_root_attributesset_user_root_attributes?: Management.ConnectionSetUserRootAttributesEnum
OptionaltokenURLtokenURL?: string
Optionalupstream_paramsupstream_params?: ConnectionUpstreamParams
OptionaluseOauthSpecScopeuseOauthSpecScope?: boolean
When true, uses space-delimited scopes (per OAuth 2.0 spec) instead of comma-delimited when calling the identity provider's authorization endpoint. Only relevant when using the connection_scope parameter. See https://auth0.com/docs/authenticate/identity-providers/adding-scopes-for-an-external-idp#pass-scopes-to-authorize-endpoint
Member Visibility
ThemeOSLightDark
Properties non_persistent_attrsauthParamsauthParamsMapauthorizationURLclient_idclient_secretcustomHeadersfieldsMapicon_urllogoutUrlpkce_enabledscopescriptsset_user_root_attributestokenURLupstream_paramsuseOauthSpecScope