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

Make it easier to get well known properties from TokenIntrospection #33283

Merged

Conversation

sberyozkin
Copy link
Member

Fixes #33282.

This PR adds TokenIntrospectionTest, adds a few methods to TokenIntrospection to make it easier to get well known properties, which are covered here:
https://datatracker.ietf.org/doc/html/rfc7662

I added methods for nearly all of them which can be useful in the user code, for now I've stopped short of adding expiry/issued at as Quarkus manages them itself, they can be still retrieved as JSON properties if needed.
Some OIDC code got simplified a bit as well.

@sberyozkin sberyozkin requested a review from gastaldi May 10, 2023 18:53
@quarkus-bot

This comment has been minimized.

@sberyozkin
Copy link
Member Author

Thanks George @gastaldi , I'll rerun a bit later, as too many jobs have failed for some reasons

@sberyozkin sberyozkin force-pushed the oidc_token_introspection_improvement branch from 98de656 to 9a0744e Compare May 11, 2023 08:39
Copy link
Contributor

@geoand geoand left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@quarkus-bot
Copy link

quarkus-bot bot commented May 11, 2023

✔️ The latest workflow run for the pull request has completed successfully.

It should be safe to merge provided you have a look at the other checks in the summary.

@sberyozkin sberyozkin merged commit f0af1bd into quarkusio:main May 11, 2023
@quarkus-bot quarkus-bot bot added the kind/enhancement New feature or request label May 11, 2023
@sberyozkin sberyozkin deleted the oidc_token_introspection_improvement branch May 11, 2023 12:46
@quarkus-bot quarkus-bot bot added this to the 3.1 - main milestone May 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/oidc kind/enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make it simpler to get well-known properties from OIDC TokenIntrospection
3 participants