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

default to RS256 as algorithm if JWK does not optionally provide one (#434) #435

Merged
merged 2 commits into from
Jun 25, 2018

Conversation

mkporwit
Copy link
Contributor

@mkporwit mkporwit commented Jun 7, 2018

Per RFC7517, alg should be optional. Spring fixes this by defaulting to RS256 if no alg is given.

@cy6erGn0m cy6erGn0m merged commit 8a0ab75 into ktorio:master Jun 25, 2018
@cy6erGn0m
Copy link
Contributor

Thanks!

schleinzer pushed a commit to schleinzer/ktor that referenced this pull request Feb 26, 2019
* default to RS256 as the algorithm if the JWK does not optionally provide one (ktorio#434)
* add test case for null algorithm, ensure tests use jwk.makeAlgorithm from src
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.

2 participants