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 the token introspection #245

Open
sberyozkin opened this issue Jun 22, 2021 · 0 comments
Open

Support the token introspection #245

sberyozkin opened this issue Jun 22, 2021 · 0 comments
Milestone

Comments

@sberyozkin
Copy link
Contributor

sberyozkin commented Jun 22, 2021

Introduce a property mp.jwt.introspection.address (or similarly named) which will be used to introspect the token remotely. It can be useful when dealing with the inner-signed or encrypted tokens produced by OpenId Connect providers.
It may need to be aligned with the current standartization effort to return the introspection responses as JWT.
Or the introspection response may be converted into JWT, example, username can be turned into preferred_username, scope into groups (or into scope claim with it also being recognized at the MP JWT level), etc.

Teddy @teddyjtorres pointed out that it is not easy right now for the MP JWT endpoint to acquire the private keys required to deal with the inner-signed/encrypted tokens

@sberyozkin sberyozkin added this to the MPJWT-2.0 milestone Jun 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant