features.introspection
This content is for v8.x. Switch to the latest version for up-to-date documentation.
RFC7662 - OAuth 2.0 Token Introspection
Enables Token Introspection for:
- opaque access tokens
- refresh tokens
default value:
{ allowedPolicy: [AsyncFunction: introspectionAllowedPolicy], // see expanded details below enabled: false}(Click to expand) features.introspection options details
allowedPolicy
Section titled “allowedPolicy”Helper function used to determine whether the client/RS (client argument) is allowed to introspect the given token (token argument).
default value:
async function introspectionAllowedPolicy(ctx, client, token) { if (client.clientAuthMethod === 'none' && token.clientId !== ctx.oidc.client.clientId) { return false; } return true;}