Configuring multiple authenticators in JupyterHub

146 views
Skip to first unread message

Kirk Stork

unread,
Mar 22, 2017, 10:46:14 AM3/22/17
to Project Jupyter
I'm looking for an example of configuring several authenticators at the same time.

The idea is some of my users will have Google id's some will have Github id, and some will need to be in a dictionary authenticator or PAM.

Is it possible to do?


MinRK

unread,
Mar 24, 2017, 6:26:43 AM3/24/17
to Project Jupyter
I'm not aware of an example, but it is technically possible. You would need to create a `MetaAuthenticator` that dispatches to the different other Authenticators, based on user input. If there's a tricky bit, it would be setting up the various handlers for OAuth callback from each handler, since the default URLs wouldn't work, as they are the same for every OAuthenticator.

-Min

--
You received this message because you are subscribed to the Google Groups "Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jupyter+unsubscribe@googlegroups.com.
To post to this group, send email to jup...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/14a09230-162e-448f-8e6c-f0dec87352ac%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Jason Stedman

unread,
Mar 24, 2017, 8:44:45 PM3/24/17
to Project Jupyter
It is not a pure Jupyter solution, and also is not free, but we have had good luck using Auth0 as a single delegating authentication provider.

There is an Auth0OAuthenticator implementation for JupyterHub also.

We actually use it to authenticate against multiple LDAP/SAML/OAuth2 providers within the same JupyterHub instance. Auth0 handles the delegation to each of the providers for us.

Hope this helps.

Kirk Stork

unread,
Mar 24, 2017, 8:48:17 PM3/24/17
to Project Jupyter
Thanks, this sounds like it is worth looking into.
Reply all
Reply to author
Forward
0 new messages