chore(oauth): Update Django OAuth Toolkit to version 2.2.0

This commit is contained in:
Georg Krause 2022-11-07 15:16:19 +01:00 committed by Georg Krause
commit 68cc6d9120
4 changed files with 259 additions and 199 deletions

View file

@ -660,6 +660,7 @@ OAUTH2_PROVIDER = {
"ACCESS_TOKEN_EXPIRE_SECONDS", default=60 * 60 * 10
),
"OAUTH2_SERVER_CLASS": "funkwhale_api.users.oauth.server.OAuth2Server",
"PKCE_REQUIRED": False,
}
OAUTH2_PROVIDER_APPLICATION_MODEL = "users.Application"
OAUTH2_PROVIDER_ACCESS_TOKEN_MODEL = "users.AccessToken"