Palbase Auth API · API
/oauth/introspectRFC 7662 token introspection
RFC 7662 token introspection. Returns {active: bool} plus claims for valid tokens. DPoP-bound tokens (RFC 9449 §6.1) include a cnf object carrying the JWK thumbprint.
The caller must be authorized (RFC 7662 §2.1): the project's secret key, or a confidential OAuth client with its secret (HTTP Basic or client_id/client_secret in the form). A publishable key or a public client authorizes nothing here (401 invalid_client).
A caller presenting Authorization: DPoP <token> instead asserts proof-of-possession of that token: the body token must match it, a valid DPoP proof must accompany the request, and the proof thumbprint must match cnf.jkt (401 invalid_dpop_proof otherwise).
Called by your server, with the project's secret key; or an OAuth client of the project; or anyone, with no key.
Request body
tokenstring · requiredtoken_type_hintstring · optionalcurl -X POST "https://<your-ref>.palbase.studio/oauth/introspect" \
-H "apikey: $PALBASE_SECRET_KEY" \
-H "content-type: application/json" \
-d '{"token":"string"}'Responses
200Introspection result (active=false for unknown/expired tokens)
400Validation failed or required field missing
401Missing, invalid, or expired credentials
defaultAn OAuth 2.0 error (RFC 6749 §5.2).
Operation OauthIntrospect of auth's contract.