OAuth2 Token Introspection
Tells a confidential client whether one of its own tokens is active (RFC 7662). Anything else, including another client's token, is {"active": false}.
/oauth/introspectTells a confidential client whether one of its own tokens is active (RFC 7662). Anything else, including another client's token, is {"active": false}.
application/x-www-form-urlencoded- body
client_id*stringclient_secret?stringtoken*stringtoken_type_hint?string"access_token" or "refresh_token"
OK
application/json- response
active?booleanclient_id?stringThe app the token was issued to.
exp?integerUnix seconds.
scope?stringSpace-separated.
token_type?stringuser_id?stringThe Gladys user, for a token acting for one.
curl -X POST "https://example.com/oauth/introspect" \ -H "Content-Type: application/x-www-form-urlencoded" \ -d 'client_id=string&token=string'{ "active": true, "client_id": "string", "exp": 0, "scope": "string", "token_type": "Bearer", "user_id": "string"}Disconnect an application DELETE
Withdraws consent and revokes every token the application holds for this user
OAuth2 Token Revocation POST
Revokes an access or refresh token (RFC 7009); revoking a refresh token also revokes the access token issued with it. token_type_hint only decides which kind is looked up first. Answers 200 whether or not the token existed.