- Capture the user identifier in your application (the user’s email or phone number) and invoke the
/passwordless/start
endpoint to initiate the passwordless flow. The user will get an email or an SMS with a one-time password. - Prompt the user for the one-time-use code, and call the
/oauth/token
endpoint to get authentication tokens.
- Lock.Android Passwordless
- Lock.swift Passwordless
- Auth0.Android Passwordless
- Auth0.swift Passwordless
Customize MFA with Embedded
Customizable MFA with the Resource Owner Password Grant, Embedded, or Refresh Token flows is in Early Access. To learn more, read Product Release Stages. To participate in the early access, contact Auth0 Support.
oauth/token
endpoint, the returned response includes the mfa_token
to use the MFA API and the mfa_requirements
parameter with a list of authenticators your application currently supports:
mfa_token
to call the mfa/authenticator
endpoint to list all factors the user has enrolled and match the same type
your application supports. You also need to obtain the matching authenticator_type
to issue challenges:
request/mfa/challenge
endpoint.
Further customize your MFA flow with Auth0 Actions. To learn more, read Actions Triggers: post-challenge - API Object.