Passer au contenu principal
POST
https://{yourDomain}
/
tokeninfo
Get Token Info (Legacy)
curl --request POST \
  --url https://{yourDomain}/tokeninfo \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "id_token": "<string>"
}
'
{
  "user_id": "<string>",
  "email": "<string>",
  "email_verified": true,
  "name": "<string>",
  "picture": "<string>"
}

Autorisations

Authorization
string
header
requis

The access token received from the authorization server in the OAuth 2.0 flow.

Corps

application/json
id_token
string
requis

The ID Token to validate and extract user information from

Réponse

Token is valid, returns user information

user_id
string

The user's unique identifier

email
string

The user's email address

email_verified
boolean

Whether the email has been verified

name
string

The user's name

picture
string

URL of the user's profile picture