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

OIDC: Fix discovery content-type issues #1268

Merged
merged 1 commit into from
Apr 20, 2021

Conversation

eloycoto
Copy link
Contributor

When JWK response was not application/json content_type, the keys cannot
be parsed and OIDC flow failed.

With this fix, if the application is returning jwk-set+json, something
valid that was not parsed as we should.[0]

[0] https://tools.ietf.org/html/rfc7517#section-8.5.1

Fix: THREESCALE-6913

Signed-off-by: Eloy Coto eloy.coto@acalustra.com

@eloycoto eloycoto requested a review from a team as a code owner April 20, 2021 10:47
When JWK response was not application/json content_type, the keys cannot
be parsed and OIDC flow failed.

With this fix, if the application is returning `jwk-set+json`, something
valid that was not parsed as we should.[0]

[0] https://tools.ietf.org/html/rfc7517#section-8.5.1

Fix: THREESCALE-6913

Signed-off-by: Eloy Coto <eloy.coto@acalustra.com>
@eloycoto eloycoto merged commit 2690c13 into 3scale:master Apr 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants