Documentation navigation

AuthMFAVerifyResponseData

Contains new session tokens and updated user information.

NameTypeDefinition
access_tokenstringNew access token (JWT) after successful verification.
token_type"bearer"Type of token, always bearer.
expires_innumberNumber of seconds in which the access token will expire.
refresh_tokenstringRefresh token you can use to obtain new access tokens when expired.
userPublicUserUpdated user profile.

Example

{  "access_token": "access-token",  "token_type": "bearer",  "expires_in": 3600,  "refresh_token": "refresh-token",  "user": {    "id": "user-id",    "project_id": "project-id",    "email": "user@example.com",    "phone": "+15551234567",    "email_verified": true,    "phone_verified": true,    "is_anonymous": false,    "created_at": "2026-01-01T00:00:00.000Z",    "updated_at": "2026-01-01T00:00:00.000Z",    "last_sign_in_at": "2026-01-01T00:00:00.000Z",    "providers": [      "github"    ],    "identities": [      {        "id": "identity-id",        "provider_id": "provider-user-id",        "user_id": "user-id",        "provider": "github",        "email": "user@example.com",        "last_sign_in_at": "2026-01-01T00:00:00.000Z",        "created_at": "2026-01-01T00:00:00.000Z",        "updated_at": "2026-01-01T00:00:00.000Z",        "identity_data": {}      }    ],    "factors": [      {        "id": "factor-id",        "factor_type": "totp",        "status": "verified",        "display_name": "Authenticator app",        "phone": "+15551234567",        "created_at": "2026-01-01T00:00:00.000Z",        "updated_at": "2026-01-01T00:00:00.000Z",        "last_challenged_at": "2026-01-01T00:00:00.000Z"      }    ],    "user_attributes": {},    "system_attributes": {}  }}