Skip to content

Commit

Permalink
fix(provider): extend timeout when getting user info
Browse files Browse the repository at this point in the history
  • Loading branch information
max-wittig authored Apr 8, 2024
1 parent f2e256d commit 9029e61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion oidc/provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ def get_user_info(self, bearer_token):
r = requests.get(
endpoint + "?schema=openid",
headers={"Authorization": bearer_auth},
timeout=2.0,
timeout=20.0,
)
if r.status_code in retry_codes:
wait_time = 2**retry * 0.1
Expand Down

0 comments on commit 9029e61

Please sign in to comment.