From 4a68ebff10a738e405dd198082e6a2e3af1ac5b7 Mon Sep 17 00:00:00 2001 From: Wiktor Przybylski Date: Sat, 16 Mar 2024 18:03:35 +0100 Subject: [PATCH] little debug --- auth/backend.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/auth/backend.py b/auth/backend.py index fc2e688..5cf3bbf 100644 --- a/auth/backend.py +++ b/auth/backend.py @@ -32,6 +32,9 @@ def user_data(self, access_token, *args, **kwargs): """Loads user data from service""" url = "https://auth.apps.hskrk.pl/application/o/userinfo/" headers = {"Authorization": "Bearer {}".format(access_token)} + print(url) + print(headers) + print(access_token) return self.get_json(url, headers=headers) def auth_url(self): """Return redirect url"""