Skip to content
This repository has been archived by the owner on Jan 29, 2025. It is now read-only.

Add timeout to requests to OIDC_USER_ENDPOINT #2162

Open
sciurus opened this issue Mar 31, 2020 · 0 comments
Open

Add timeout to requests to OIDC_USER_ENDPOINT #2162

sciurus opened this issue Mar 31, 2020 · 0 comments

Comments

@sciurus
Copy link
Contributor

sciurus commented Mar 31, 2020

The lack of a timeout is relatively low risk here, but we should still have one.

response = requests.get(url, headers={"Authorization": f"Bearer {access_token}"})

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant