1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2025-06-21 09:58:23 +02:00

fix some breaking changes and linters

This commit is contained in:
bleizi
2024-02-07 18:02:56 +01:00
parent 516a7f4be5
commit d228dbf225
8 changed files with 13 additions and 8 deletions

View File

@ -44,6 +44,8 @@ class PermissionOAuth2Validator(OAuth2Validator):
subset of permissions.
"""
oidc_claim_scope = None # fix breaking change of django-oauth-toolkit 2.0.0
valid_scopes = set()
for t in Permission.PERMISSION_TYPES: