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

Apply the required claims restriction to OIDC introspections #44170

Merged

Conversation

sberyozkin
Copy link
Member

Fixes #43975.

The configured OIDC required claims provide a simple option for enforcing that the token contains some expected String claims, however, at the moment, it is only enforced for tokens in the JWT format.

If the token is remotely introspected, the required claims restriction is not applied to the token introspection response.

This PR makes it effective for the token introspection responses too. Additional checks can be made directly with the injected TokenIntrospection

Copy link

quarkus-bot bot commented Oct 29, 2024

Status for workflow Quarkus CI

This is the status report for running Quarkus CI on commit c2587b8.

✅ 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.

You can consult the Develocity build scans.

@sberyozkin sberyozkin merged commit f91f180 into quarkusio:main Oct 29, 2024
23 checks passed
@quarkus-bot quarkus-bot bot added the kind/enhancement New feature or request label Oct 29, 2024
@quarkus-bot quarkus-bot bot added this to the 3.17 - main milestone Oct 29, 2024
@sberyozkin sberyozkin deleted the required_claims_for_token_introspection branch October 29, 2024 21:38
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.

Use configured required claims to verify OIDC introspection responses
2 participants