cURL
curl --request POST \ --url https://api.example.com/api/auth/admin/sessions/exchange \ --header 'Content-Type: application/json' \ --data ' { "code": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..." } '
{ "user": { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "email": "[email protected]", "metadata": {}, "emailVerified": true, "providers": [ "<string>" ], "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z" }, "accessToken": "<string>" }
Verifies an authorization code/JWT from from Insforge Cloud platform and issues an internal admin session token with project_admin role
Authorization code or JWT from the Insforge
"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."
Cloud authorization verified, admin session created
Show child attributes
Internal JWT for admin authentication