Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[GitHub] fix implementation of populate_teams_in_auth_state #504

Conversation

consideRatio
Copy link
Member

@consideRatio consideRatio commented May 16, 2022

When using tornado's HTTPClient, there will be an error thrown by default as documented in tornado.httpclient.HTTPClient.


Fixes broken implementation of GitHubOAuthenticator.populate_teams_in_auth_state in #498 as caused by my code suggestion adding resp.raise_for_status().

@consideRatio consideRatio changed the title fix: raise_for_status is part of requests library, not tornado [GitHub] fix implementation of populate_teams_in_auth_state May 16, 2022
@yuvipanda yuvipanda merged commit 60ddc4f into jupyterhub:main May 17, 2022
@yuvipanda
Copy link
Collaborator

Thanks, @consideRatio!

yuvipanda added a commit to yuvipanda/pilot-hubs that referenced this pull request May 17, 2022
yuvipanda added a commit to yuvipanda/pilot-hubs that referenced this pull request May 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants