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

Fix RSA public key parser #2340

Merged
merged 4 commits into from
May 22, 2023
Merged

Fix RSA public key parser #2340

merged 4 commits into from
May 22, 2023

Conversation

strehle
Copy link
Member

@strehle strehle commented May 19, 2023

Issue is a regression with #2284. Before the spring-security-jwt parser was used and now nimbus. Nimbus JOSE is stricter in parser of key content.
Implemented now the less strict parser from the library. We want remove spring-security-jwt in near future, thus did not used library anymore Added test with example of YAML or DB config based oauth2 provider in parameter tokenKey. The key there does not have line break but spaces or other chars.

Issue is a regression with #2284. Before the spring-security-jwt parser was used and now nimbus, but is stricter in parser of key content.
Implemented now the less strict parser from the library. We want remove spring-security-jwt in near future, thus did not used library anymore
Added test with example of YAML or DB config based oauth2 provider in parameter tokenKey. The key there does not have line break but spaces or other chars.
@cf-gitbot
Copy link

We have created an issue in Pivotal Tracker to manage this:

https://www.pivotaltracker.com/story/show/185221408

The labels on this github issue will be updated when the story is started.

@strehle strehle linked an issue May 19, 2023 that may be closed by this pull request
@strehle strehle requested a review from a team May 19, 2023 16:20
@strehle strehle added the in_review The PR is currently in review label May 19, 2023
@strehle strehle removed the in_review The PR is currently in review label May 22, 2023
@strehle strehle merged commit 122579b into develop May 22, 2023
18 checks passed
@strehle strehle deleted the fix/issue/2335 branch May 22, 2023 07:49
@cf-gitbot cf-gitbot added delivered accepted Accepted the issue and removed delivered labels Jul 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accepted Accepted the issue
Projects
Development

Successfully merging this pull request may close these issues.

Regression in OIDC flow - 76.12.0
3 participants