Aller au contenu

Token Introspection (RFC 7662)

POST
/oidc/introspect
curl --request POST \
--url https://auth.timetonic.com/oidc/introspect \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data token=example

Check whether an access token is active. Replaces legacy /api/session/validate.

Media typeapplication/x-www-form-urlencoded
object
token
required
string
Examplegenerated
token=example

Introspection response

Media typeapplication/json
object
active
required
boolean
sub
string
scope
string
client_id
string
exp
integer
Examplegenerated
{
"active": true,
"sub": "example",
"scope": "example",
"client_id": "example",
"exp": 1
}