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 response is of type object.
object
Was this page helpful?