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 error when RFC9068 JWS has no scope field #598

Merged
merged 1 commit into from
Nov 29, 2023

Conversation

tanguilp
Copy link
Contributor

The scope claim is optional in RFC9068. This PR fixes the current behaviour which is that it is mandatory by authlib.

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.

@azmeuk
Copy link
Collaborator

azmeuk commented Nov 27, 2023

Thank you, I have missed that. Could you add unit tests for this usecase?

@lepture lepture merged commit 04e83f6 into lepture:master Nov 29, 2023
8 checks passed
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

3 participants