Skip to content

Commit

Permalink
don't use the code
Browse files Browse the repository at this point in the history
  • Loading branch information
paulineribeyre committed Apr 8, 2022
1 parent ea996da commit 605f1eb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions fence/resources/openid/idp_oauth2.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ def get_user_id(self, code):
Return dictionary with necessary field(s) for successfully logged in
user OR "error" field with details of the error.
"""
return {"error": f"Can't get user info from {self.idp}"}
user_id_field = self.settings.get("user_id_field", "sub")
try:
token_endpoint = self.get_value_from_discovery_doc("token_endpoint", "")
Expand Down

0 comments on commit 605f1eb

Please sign in to comment.