Skip to main content

User Profile

Access authenticated user profile information from JWT token claims.

Get Admin Profile

Returns the authenticated admin user's profile information from JWT token claims.

Endpoint: GET /auth/admin/profile

Authorization: Bearer Token

Response

Success (200):

{
"client_id": "string",
"email_id": "string",
"groups": null,
"project_id": "string",
"resources": null,
"roles": null,
"scopes": null,
"tenant_id": "string",
"token_type": null
}

Response Fields

FieldTypeDescription
client_idstringClient identifier
email_idstringUser email address
groupsarrayUser groups
project_idstringProject identifier
resourcesarrayAccessible resources
rolesarrayUser roles
scopesarrayPermission scopes
tenant_idstringTenant identifier
token_typestringType of token

Error Responses:

  • 401 - Unauthorized - invalid or missing token

Get User Profile

Returns the authenticated user's profile information from JWT token claims.

Endpoint: GET /auth/user/profile

Authorization: Bearer Token

Response

Success (200):

{
"client_id": "string",
"email_id": "string",
"groups": null,
"project_id": "string",
"resources": null,
"roles": null,
"scopes": null,
"tenant_id": "string",
"token_type": null
}

Response Fields

Same as admin profile response.

Error Responses:

  • 401 - Unauthorized - invalid or missing token

Usage Example

To retrieve your profile information, make a GET request with your JWT token:

GET /auth/user/profile
Authorization: Bearer YOUR_JWT_TOKEN

The response will contain all the claims embedded in your JWT token, including your permissions, roles, and group memberships.