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

    Interface PasswordlessDbChallengeEmailOptions

    Options to request a passwordless OTP challenge for a database connection user identified by email address.

    The challenge always returns successfully regardless of whether the user exists (user-enumeration prevention). If the user does not exist and allowSignup is false, or if the user is blocked, the returned auth_session will be non-functional and loginWithOtp will fail with invalid_request.

    A successful challenge does not guarantee an OTP was delivered.

    interface PasswordlessDbChallengeEmailOptions {
        allowSignup?: boolean;
        connection: string;
        email: string;
    }
    Index

    Properties

    allowSignup?: boolean

    Whether to allow signup for users who do not yet exist in the connection. Defaults to false. When false, non-existent users receive a silent fake auth_session (no OTP sent) for GDPR compliance.

    connection: string

    The database connection name configured with email_otp.

    email: string

    The email address to send the OTP to.