Token Introspection (RFC 7662)
POST
/oidc/introspect
const url = 'https://auth.timetonic.com/oidc/introspect';const options = { method: 'POST', headers: {'Content-Type': 'application/x-www-form-urlencoded'}, body: new URLSearchParams({token: 'example'})};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://auth.timetonic.com/oidc/introspect \ --header 'Content-Type: application/x-www-form-urlencoded' \ --data token=exampleCheck whether an access token is active. Replaces legacy /api/session/validate.
Request Bodyrequired
Section intitulée « Request Bodyrequired »Media typeapplication/x-www-form-urlencoded
object
token
required
string
Examplegenerated
token=exampleResponses
Section intitulée « Responses »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}