Interlaken
API referenceIdentity and accessAuthentication

Return OIDC userinfo

GET
/api/v1/auth/userinfo

Authorization

AuthorizationBearer <token>

An access token from this zone's POST /oauth/token, or a session token from POST /api/v1/auth/login. Send it as Authorization: Bearer <token>.

In: header

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/api/v1/auth/userinfo"
{  "email": "string",  "email_verified": true,  "enabled_zones": [    "string"  ],  "is_platform_admin": true,  "locale": "string",  "permissions": [    "string"  ],  "role": "string",  "role_name": "string",  "role_slug": "string",  "sub": "string",  "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",  "tenant_name": "string",  "updated_at": 0,  "zone": "string"}