Auth

Complete MFA verification

Verify an MFA factor during authentication. On success, a new session with mfaVerified: true JWT claim is issued and the old session is revoked.

post/api/cis/v1/auth/factors/{factorId}/verify

Request

  • Base URL
    https://stalela-platform.vercel.app
  • Auth
    HTTP bearer and API key in header x-tenant-id

Path parameters

factorIdstring uuid required

Headers

x-tenant-idstring required

Request body

sessionIdstring uuid required
codestring required

Response

MFA verified

sessionIdstring uuid
accessTokenstring

JWT (HS256 or ES256)

expiresIninteger

Token TTL in seconds

refreshTokenstring
mfaRequiredboolean

True if MFA step is needed before full access

mfaVerifiedboolean

Example response

{
  "mfaVerified": true
}

Changes

No recorded changes to this operation across all 1 revision of this API.