Skip to content

Improve Public Key Management for JWTAuthorizationGrant identity provider#44600

Merged
ahus1 merged 1 commit intokeycloak:mainfrom
rmartinc:issue-44243
Dec 3, 2025
Merged

Improve Public Key Management for JWTAuthorizationGrant identity provider#44600
ahus1 merged 1 commit intokeycloak:mainfrom
rmartinc:issue-44243

Conversation

@rmartinc
Copy link
Copy Markdown
Contributor

@rmartinc rmartinc commented Dec 2, 2025

Closes #44243
closes #44523

Adding the option of using a public key for JWT Authorization Grant instead of the JWKS url. The PR shares the same components with the OIDC identity provider. It also adds an import button in the admin console to allow importing the same formats we are using in other places for the key. Added tests for OIDC and JWT Authorization Grant. Two little tests are added to the admin UI. They test the JWT provider creation and imports two files. The PR ended up being quite long. Sorry.

@mposolda mposolda self-assigned this Dec 2, 2025
Copy link
Copy Markdown
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 Nice, Thanks!

@mposolda mposolda requested a review from graziang December 2, 2025 14:43
Copy link
Copy Markdown
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!

@ahus1 ahus1 merged commit f91363d into keycloak:main Dec 3, 2025
82 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.

Simple UI test for jwt-authorization-grant identity provider Improve Public Key Management for JWTAuthorizationGrant identity provider

4 participants