From 8537d13e4d64568b7263dfb6f866881f032019db Mon Sep 17 00:00:00 2001 From: Wiktor Przybylski Date: Sat, 25 Nov 2023 19:38:58 +0100 Subject: [PATCH] auth get->post --- auth/backend.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auth/backend.py b/auth/backend.py index f3d554f..f47e497 100644 --- a/auth/backend.py +++ b/auth/backend.py @@ -7,7 +7,7 @@ class HSWawOAuth2(BaseOAuth2): ID_KEY = 'username' AUTHORIZATION_URL = 'https://auth.apps.hskrk.pl/application/o/authorize/' ACCESS_TOKEN_URL = 'http://authentik:9000/application/o/token/' - ACCESS_TOKEN_METHOD = 'GET' + ACCESS_TOKEN_METHOD = 'POST' DEFAULT_SCOPE = ['profile:read'] REDIRECT_STATE = False SCOPE_SEPARATOR = ','