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

Support callable for GenericOAuthenticator username_key #305

Merged

Conversation

eslavich
Copy link
Contributor

We have an OAuth provider that returns the username in a nested object. This PR updates GenericOAuthenticator's username_key traitlet to support a callable that can be used to extract a username from anywhere in the response.

@yuvipanda yuvipanda merged commit 19ad353 into jupyterhub:master Nov 19, 2019
@yuvipanda
Copy link
Collaborator

Thanks, @eslavich!

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

Successfully merging this pull request may close these issues.

None yet

2 participants