Introspect the current identity
Returns the identity resolved from the current credential — the actor (subject) plus the credential type used (JWT token or API key). API keys authenticate with their full raw key; the subject carries the key's capability grants.
/auth/introspectReturns the identity resolved from the current credential — the actor (subject) plus the credential type used (JWT token or API key). API keys authenticate with their full raw key; the subject carries the key's capability grants.
JWT issued by IdentityX, signed with Ed25519
In: header
Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
curl -X GET "https://example.com/auth/introspect"{
"subject": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"project_id": "405d8375-3514-403b-8c43-83ae74cfe0e9",
"email": "user@example.com",
"type": "human",
"verified_at": "2019-08-24T14:15:22Z",
"capabilities": {},
"metadata": {}
},
"cred": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"type": "token"
}
}{
"detail": "string",
"instance": "../dictionary",
"errors": [
{
"field": "string",
"message": "string"
}
],
"type": "http://example.com",
"status": 401,
"title": "Unauthenticated"
}{
"detail": "string",
"instance": "../dictionary",
"errors": [
{
"field": "string",
"message": "string"
}
],
"type": "http://example.com",
"status": 500,
"title": "Internal Server Error"
}{
"detail": "string",
"instance": "../dictionary",
"errors": [
{
"field": "string",
"message": "string"
}
],
"type": "http://example.com",
"status": 503,
"title": "Identity Unavailable"
}Discover enabled social login providers GET
Public discovery of the OAuth providers a scope currently accepts logins with. With `project_id`, returns the project's enabled providers; without it, IdentityX's own platform providers (env-configured). The frontend login modal renders one button per returned provider.
Get a JWKS GET
Provides the JSON Web Key Set (JWKS) for verifying JWTs issued by the authentication service. Omit `project_id` for the platform keyset, or pass a project id for that project's keyset. Response is a raw JWKS document (RFC 7517), and is cached for 2 hours by the server.