Request a challenge for multi-factor authentication. This endpoint is used during the MFA flow when a user needs to verify their identity using a second factor.
When to use: After receiving an mfa_required error from /oauth/token, use this endpoint to request a challenge (OTP or OOB) before completing authentication.
Challenge Types:
otp - One-time password from authenticator appoob - Out-of-band via SMS, voice, or push notificationThe access token received from the authorization server in the OAuth 2.0 flow.
The MFA token received in the mfa_required error response from /oauth/token
Your application's Client ID
The type of MFA challenge to request
otp, oob Your application's Client Secret (required for confidential clients)
The ID of a specific authenticator to challenge (optional, for users with multiple MFA methods enrolled)
The channel to use for OOB challenges (required when challenge_type is 'oob')
sms, voice, auth0