Validate a TOTP code
Completes a sign-in that requires two-factor authentication by verifying the six-digit code from the user’s authenticator app, and returns the Client Session Token.
This endpoint needs two credentials: the x-portal-auth-environment-id
header, and the userJwt from the magic link or OAuth validation
response sent as a Bearer token. The userJwt may also be passed in the
request body instead of the Authorization header.
On the user’s first successful verification, enrollment is completed and
subsequent sign-ins no longer return a totpLink.
Authorizations
The Auth Environment ID for the environment you are authenticating against. Find it in the Portal dashboard under Authentication > Configure.
The userJwt returned by a magic link or OAuth validation when the
environment requires two-factor authentication. Single use.