Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@rmartinc
Copy link
Contributor

@rmartinc rmartinc commented Feb 19, 2025

Close #37112

Checking the consents are OK for the requested client scopes. The PR moves some validations from the getTargetAudienceClients to the validateAudience in the abstract class because now the consent is different in V1 and V2. The scopes are just checked in protected validateConsents method using the same TokenManager.verifyConsentStillAvailable that is used in other places. Test added.

@rmartinc
Copy link
Contributor Author

Rebased and updated because we are all changing the same TE classes. 😄

Copy link
Contributor

@graziang graziang left a comment

Choose a reason for hiding this comment

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

@rmartinc Thanks!

@mposolda mposolda self-assigned this Feb 19, 2025
Copy link
Contributor

@mposolda mposolda left a comment

Choose a reason for hiding this comment

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

@rmartinc @graziang Thanks for the PR and review!

@mposolda mposolda merged commit 510f8f7 into keycloak:main Feb 20, 2025
78 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Consent handling of token-exchange

3 participants