Closed tony2001 closed 4 months ago
Code looks good thanks! Please fix the style issues, you can test them locally using tox
I'm not really familiar with Python, but I think I've fixed the issues. Could check again pls?
The failing test is codespell being stupid and flagging a function name in code you have not touched, I'll fix it later.
Thanks for the contribution, really appreciated!
Claim 'scope' is formally standardized by this RFC: https://datatracker.ietf.org/doc/html/rfc8693#name-scope-scopes-claim
It's been in use for quite a while though and it's a part of standard token provided by Keycloak, which is a long time industry standard for access management. Keycloak tokens may and quite often do contain multiple scopes, hence the need for this patch.