Auth0 Node.js SDK - v5.2.0
    Preparing search index...

    Interface ConnectionOptionsOAuth2

    Options for the 'oauth2' connection

    Hierarchy (View Summary)

    Index

    Properties

    non_persistent_attrs?: ConnectionNonPersistentAttrs
    authParamsMap?: ConnectionAuthParamsMap
    authorizationURL?: string
    client_id?: string
    client_secret?: string
    icon_url?: string
    logoutUrl?: string
    pkce_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.

    tokenURL?: string
    upstream_params?: ConnectionUpstreamParams
    useOauthSpecScope?: 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