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

Custom OIDC claim verification #27292

Merged

Conversation

djnalluri
Copy link
Contributor

@djnalluri djnalluri commented Aug 15, 2022

This PR adds a new configuration property for specifying claims that should be present and matching in an OIDC token.

Fixes #27138.

Also Fixes #17292.

@sberyozkin
Copy link
Member

sberyozkin commented Aug 16, 2022

@djnalluri LGTM, thanks, I've added a couple of minor suggestions. Please also squash the commits. Note your PR also indirectly fixes #17292. now there is no need to add a dedicated property for azp (or indeed some other well known claims) (so I've updated the PR description).

@djnalluri djnalluri force-pushed the feature/oidc-custom-claim-verification branch from 49d86c5 to eeb7291 Compare August 16, 2022 15:03
@quarkus-bot

This comment has been minimized.

Co-authored-by: sberyozkin <sberyozkin@gmail.com>
@djnalluri djnalluri force-pushed the feature/oidc-custom-claim-verification branch from eeb7291 to a7b9c2e Compare August 16, 2022 15:23
@sberyozkin sberyozkin merged commit 973e4e8 into quarkusio:main Aug 16, 2022
@quarkus-bot quarkus-bot bot added this to the 2.12 - main milestone Aug 16, 2022
@quarkus-bot quarkus-bot bot added the kind/enhancement New feature or request label Aug 16, 2022
@djnalluri djnalluri deleted the feature/oidc-custom-claim-verification branch August 16, 2022 16:57
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.

Allow OIDC to validate custom claims in the access token Support OIDC 'azp' claim verification
2 participants