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

    Interface TokenForConnectionRequest

    Options to exchange a federated connection token.

    interface TokenForConnectionRequest {
        subject_token: string;
        connection: string;
        subject_token_type?: SUBJECT_TOKEN_TYPES;
        login_hint?: string;
    }
    Index

    Properties

    subject_token: string

    The subject token to exchange for an access token for a connection.

    connection: string

    The target social provider connection (e.g., "google-oauth2").

    subject_token_type?: SUBJECT_TOKEN_TYPES

    An optional subject token type parameter to pass to the authorization server. If not provided, it defaults to urn:ietf:params:oauth:token-type:refresh_token.

    login_hint?: string

    Optional login hint