Skip to content

Commit

Permalink
Merge pull request #261 from phenobarbital/oauth-provider
Browse files Browse the repository at this point in the history
debugging adfs errors
  • Loading branch information
phenobarbital committed Sep 7, 2023
2 parents 7653420 + e826e2c commit 9f9cb39
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions navigator_auth/backends/abstract.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@ def get_user_mapping(
else:
mapping = self.user_mapping
udata = {}
print('MAPPING > ', mapping)
for key, val in mapping.items():
if key != self.password_attribute:
try:
Expand Down
1 change: 1 addition & 0 deletions navigator_auth/backends/external.py
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,7 @@ def build_user_info(self, userdata: dict, token: str) -> tuple:
user=userdata
)
# User ID:
print('USERDATA > ', userdata)
try:
userid = userdata[self.userid_attribute]
userdata["id"] = userid
Expand Down
2 changes: 1 addition & 1 deletion navigator_auth/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
__description__ = (
"Navigator Auth is an Authentication/Authorization Toolkit for aiohttp."
)
__version__ = "0.9.3" # pragma: no cover
__version__ = "0.9.4" # pragma: no cover
__author__ = "Jesus Lara"
__author_email__ = "jesuslarag@gmail.com"
__license__ = "Apache 2.0 License"
Expand Down

0 comments on commit 9f9cb39

Please sign in to comment.