user

Verify a challenge on a factor.

Changed on
post/factors/{factorId}/verify

Request

  • Base URL
    https://abcdefghijklmnopqrst.supabase.co/auth/v1
  • URL
    https://abcdefghijklmnopqrst.supabase.co/auth/v1/factors/{factorId}/verify
  • Auth
    API key in header apikey and HTTP bearer

Path parameters

factorIdstring uuid required

Request body

challenge_idstring uuid required
codestring

Response

This challenge has been verified. Client libraries should replace their stored access and refresh tokens with the ones provided in this response. These new credentials have an increased Authenticator Assurance Level (AAL).

access_tokenstring

A valid JWT that will expire in expires_in seconds.

refresh_tokenstring

An opaque string that can be used once to obtain a new access and refresh token.

token_typestring

What type of token this is. Only bearer returned, may change in the future.

expires_ininteger

Number of seconds after which the access_token should be renewed by using the refresh token with the refresh_token grant type.

expires_atinteger

UNIX timestamp after which the access_token should be renewed by using the refresh token with the refresh_token grant type.

Changes

    • warning

      removed the request property /

    • warning

      removed the request property /

    • warning

      removed the optional property /// from the response with the status

    • info

      added the new optional request property

    • info

      added the optional property /// to the response with the status