Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support token introspection endpoint #19

Open
adrienlauer opened this issue Apr 15, 2021 · 0 comments
Open

Support token introspection endpoint #19

adrienlauer opened this issue Apr 15, 2021 · 0 comments

Comments

@adrienlauer
Copy link
Member

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 TokenValidator interface must be updated
  • The UserInfoTokenValidator should be renamed DefaultTokenValidator and 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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant