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

Adjust the params of the access token request when basic auth is enabled #568

Merged
merged 1 commit into from
Jan 18, 2023

Conversation

GeorgianaElena
Copy link
Member

Fixes #565

@consideRatio
Copy link
Member

consideRatio commented Jan 18, 2023

@GeorgianaElena is this a bugfix of a regression introduced in the refactoring PR, or something different or more?

@consideRatio
Copy link
Member

consideRatio commented Jan 18, 2023

Ah, I think I understand thanks to excellent summaries in referenced issues!

Before refactoring PR we had a bug
After refactoring PR we had another bug
Now this is fixed fully

@consideRatio consideRatio merged commit 25975bf into jupyterhub:main Jan 18, 2023
@GeorgianaElena
Copy link
Member Author

I think it's more. I believe, according to #273, the GenericOAuthenticator (and possibly other oauthenticators also) wasn't including the client creds in the request at all.

So, the refactor, added the creds to the request for all authenticators, but didn't take into account the basic_auth thing.

So, now this fixes that.

I believe labeling it as a bug, is enough?

Anyway, after we get #561 merged, I will focus on documenting the refactorization as best as I can, so we can make a release and see if it actually broke more things than expected 😬

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.

Incorrectly sending the client_client & secret when basic auth is enabled
2 participants