cURL
curl --request POST \ --url https://{tenant_id}.hanko.io/token \ --header 'Content-Type: application/json' \ --data ' { "value": "<string>" } '
{ "user_id": "c339547d-e17d-4ba7-8a1d-b3d5a4d17c1c" }
Provide a one time token (e.g. obtained through the thirdparty callback) to retrieve a session JWT as cookie and/or via X-Auth-Token header.
X-Auth-Token
Successful token exchange
The ID of the user on whose behalf the token was exchanged.
"c339547d-e17d-4ba7-8a1d-b3d5a4d17c1c"
Was this page helpful?