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

Skip to content

Conversation

@graziang
Copy link
Contributor

Closes #37124

  • Added a Condition in client policies to check when a grant type is used.

  • The DEFAULT_GRANT_TYPES_SUPPORTED in GrantTypeConditionFactory are not resolved as in OIDCWellKnownProvider.getGrantTypesSupported() due to the absence of the KeycloakSession.

  • Added tests and small documentation.

Copy link
Contributor

@douglaspalmer douglaspalmer left a comment

Choose a reason for hiding this comment

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

LGTM

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.

@graziang Thanks! Few minor comments added

@graziang
Copy link
Contributor Author

@douglaspalmer @mposolda Thanks for the review! Applied the suggestions in a separate commit.

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.

@graziang Thanks for the updates!

@mposolda mposolda self-assigned this Feb 27, 2025
@mposolda mposolda merged commit 690b5ec into keycloak:main Feb 27, 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.

Client scope condition for grant type ?

3 participants