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

Use single key in JWK if JWS does not specify kid #596

Merged
merged 1 commit into from
Nov 21, 2023
Merged

Use single key in JWK if JWS does not specify kid #596

merged 1 commit into from
Nov 21, 2023

Conversation

dklimpel
Copy link
Contributor

Fixes: #462

If no special kid is requested, try to use the only one key.
Also add a unit test.

What kind of change does this PR introduce? (check at least one)

  • Bugfix
  • Feature
  • Code style update
  • Refactor
  • Other, please describe:

Does this PR introduce a breaking change? (check one)

  • Yes
  • No

  • You consent that the copyright of your pull request source code belongs to Authlib's author.

@lepture lepture merged commit ad13ae1 into lepture:master Nov 21, 2023
8 checks passed
@dklimpel dklimpel deleted the fix_462_kid_rfc7519 branch November 21, 2023 19:01
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.

Exception if JWK set kid in single key and JWS does not specify kid
2 participants