Skip to content

Commit

Permalink
Merge pull request #45 from siemens/fix-provider-extend-timeout
Browse files Browse the repository at this point in the history
fix(provider): extend timeout when getting user info
  • Loading branch information
dlouzan authored Apr 8, 2024
2 parents f2e256d + 7d50c13 commit d880ca4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
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
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "sentry-auth-oidc"
version = "8.0.0"
version = "8.1.0"
description = "OpenID Connect authentication provider for Sentry"
authors = [
"Max Wittig <[email protected]>",
Expand Down

0 comments on commit d880ca4

Please sign in to comment.