Introspect a token
Changed onOAuth 2.0 Token Introspection Endpoint (RFC 7662).
Check if a token is active and retrieve its metadata.
Use Cases:
- Resource servers validating tokens
- Debugging token issues
- Checking token scopes before processing requests
Response:
- Active token: Returns active: true with token metadata
- Invalid/expired/revoked token: Returns only active: false
Request
- Base URLhttps://app.pipeshub.com/api/v1
- URLhttps://app.pipeshub.com/api/v1/oauth2/introspect
- Authnone required
Request body
Response
Token introspection result. {active: false} alone when the token is unknown, expired, revoked, issued to another client, or when client_secret is missing (even for a live token). username is present only for a token that acts as a user.
Changes
- breaking
the
request property's minLength was increased from0to1(media type: application/x-www-form-urlencoded) - breaking
the
request property's minLength was increased from0to1(media type: application/json) - breaking
the
request property's minLength was increased from0to1(media type: application/x-www-form-urlencoded) - breaking
the
request property's minLength was increased from0to1(media type: application/json) - warning
added the new
authorization_pendingenum value to theresponse property for the response status - warning
added the new
expired_tokenenum value to theresponse property for the response status - warning
added the new
slow_downenum value to theresponse property for the response status - info
added the non-success response with the status
- info
added the non-success response with the status
- breaking
- warning
added the new
invalid_targetenum value to theresponse property for the response status
- warning