Skip to content

Commit d880ca4

Browse files
authored
Merge pull request #45 from siemens/fix-provider-extend-timeout
fix(provider): extend timeout when getting user info
2 parents f2e256d + 7d50c13 commit d880ca4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

oidc/provider.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ def get_user_info(self, bearer_token):
9393
r = requests.get(
9494
endpoint + "?schema=openid",
9595
headers={"Authorization": bearer_auth},
96-
timeout=2.0,
96+
timeout=20.0,
9797
)
9898
if r.status_code in retry_codes:
9999
wait_time = 2**retry * 0.1

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "sentry-auth-oidc"
3-
version = "8.0.0"
3+
version = "8.1.0"
44
description = "OpenID Connect authentication provider for Sentry"
55
authors = [
66
"Max Wittig <[email protected]>",

0 commit comments

Comments
 (0)