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

    Class AuthenticationClient

    Auth0 Authentication API Client

    Provides access to Auth0's authentication endpoints for login, signup, passwordless authentication, and token exchange operations.

    import { AuthenticationClient } from 'auth0';

    const auth0 = new AuthenticationClient({
    domain: 'your-tenant.auth0.com',
    clientId: 'your-client-id'
    });
    // Exchange authorization code for tokens
    const tokenSet = await auth0.oauth.authorizationCodeGrant({
    code: 'auth-code',
    redirect_uri: 'https://app.example.com/callback'
    });
    // Create user
    const user = await auth0.database.signUp({
    connection: 'Username-Password-Authentication',
    username: 'john@example.com',
    password: 'secure-password123'
    });
    Index

    Constructors

    Properties

    database: Database

    Database connection operations (signup, change password)

    oauth: OAuth

    OAuth 2.0 and OIDC operations (authorization, token exchange)

    passwordless: Passwordless

    Passwordless authentication (email/SMS)

    backchannel: IBackchannel

    Back-channel authentication (CIBA)

    tokenExchange: ICustomTokenExchange

    Custom token exchange operations