Skip to content

Commit

Permalink
little debug
Browse files Browse the repository at this point in the history
  • Loading branch information
wprzyb authored Mar 16, 2024
1 parent 70f5056 commit 4a68ebf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions auth/backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"""
Expand Down

0 comments on commit 4a68ebf

Please sign in to comment.