Start TOTP login or reauthentication.
curl --request POST \ --url https://auth.example.com/api/auth/totp/login/start \ --header 'Content-Type: application/json' \ --data '{ "identifier": "user@example.com" }'Creates a short-lived TOTP challenge for either an email or username identifier, or an opaque OIDC reauthentication challenge. Exactly one input must be supplied. The reauthentication form resolves the bound subject server-side and does not disclose the subject identifier to the browser.
Request Body required
Section titled “Request Body required ”object
Email address or username/user identifier.
Opaque reauthentication challenge whose bound subject is resolved server-side.
object
Email address or username/user identifier.
Opaque reauthentication challenge whose bound subject is resolved server-side.
Example
{ "identifier": "user@example.com"}Responses
Section titled “ Responses ”TOTP login challenge response.
object
Example generated
{ "challenge_id": "example", "expires_in": 1}Error response.
object
Optional browser-side WebAuthn Signal API hint. When unknown_credential is true, clients that just received a WebAuthn credential assertion may call PublicKeyCredential.signalUnknownCredential() for that credential ID.
object
Example generated
{ "error": "example", "error_description": "example", "message": "example", "webauthn_signal": { "unknown_credential": true }}