-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Labels
Description
When dealing with an opaque token, no claim can be directly retrieved. This means that this kind of token cannot provide scopes. The TokenValidator could be updated to allow to return a map of claims for the opaque token. Then the default TokenValidator could use a configured token introspection endpoint to retrieved these claims at validation.
- The
TokenValidatorinterface must be updated - The
UserInfoTokenValidatorshould be renamedDefaultTokenValidatorand implement the ability to retrieve claims from the token introspection endpoint if configured. It could still fallback to calling the user info endpoint if no introspection endpoint is available.