interface Auth0StrategyOptions {
    audience?: string;
    clientId: string;
    clientSecret: string;
    connection?: string;
    domain: string;
    invitation?: string;
    organization?: string;
    redirectURI: string | { toString: () => string };
    scopes?: Auth0Scopes;
}

Hierarchy

  • Pick<
        OAuth2Strategy.ConstructorOptions,
        "clientId"
        | "clientSecret"
        | "redirectURI"
        | "scopes",
    >
    • Auth0StrategyOptions

Properties

audience?: string
clientId: string

This is the Client ID of your application, provided to you by the Identity Provider you're using to authenticate users.

clientSecret: string

This is the Client Secret of your application, provided to you by the Identity Provider you're using to authenticate users.

connection?: string
domain: string

Auth0 strategy options

invitation?: string
organization?: string
redirectURI: string | { toString: () => string }

The URL of your application where the Identity Provider will redirect the user after they've logged in or authorized your application.

scopes?: Auth0Scopes

OAuth2 strategy options