@auth0/nextjs-auth0 - v4.25.0
    Preparing search index...

    Interface PasswordlessDbChallengePhoneOptions

    Options to request a passwordless OTP challenge for a database connection user identified by phone number.

    Same 200-always contract as PasswordlessDbChallengeEmailOptions.

    interface PasswordlessDbChallengePhoneOptions {
        allowSignup?: boolean;
        connection: string;
        deliveryMethod?: PasswordlessDbDeliveryMethod;
        phoneNumber: string;
    }
    Index

    Properties

    allowSignup?: boolean

    Whether to allow signup for users who do not yet exist in the connection. Defaults to false.

    connection: string

    The database connection name configured with phone_otp.

    OTP delivery channel.

    • 'text' — SMS (default)
    • 'voice' — voice call
    phoneNumber: string

    The phone number to send the OTP to, in E.164 format (e.g. '+14155550100').