-
Notifications
You must be signed in to change notification settings - Fork 32
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
try auth0 on staging.hub #604
Conversation
scope: | ||
- openid | ||
- profile | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@consideRatio - Does this look correct? It's my attempt to translate https://github.com/jupyterhub/oauthenticator/blob/master/oauthenticator/auth0.py to yaml.
Gonna merge and see what happens. |
Deployment of dev.pangeo.io failed with the following error message
I guess this is related to my change, but the error message doesn't tell me much. https://circleci.com/gh/pangeo-data/pangeo-cloud-federation/1238 |
I can take a look now. |
@rabernat some issue starting up the hub:
|
Looks like I jumped the gun. I thought But perhaps we have a version mismatch. These are things that @consideRatio will know immediately. Probably better to wait for his advice than to stumble around blindly. |
Ah yes it appears that auth0 is not supported: jupyterhub/zero-to-jupyterhub-k8s#1435 |
At the cloud ops meeting today, we discussed our scattered approach to auth. After doing some research today, I believe we may be able to get by with the free version of auth0. I have set up an account and configured an app with the github connector.
This PR is my attempt to plug it in to staging.hub.pangeo.io.
secrets/staging.yaml
looks like this:If it works, we will immediately hit jupyterhub/oauthenticator#266 (comment): the auth0 authenticator only allows the username to be email. Instead, we want to use
nickname
, which contains the github username. I think that should probably be fixed upstream in oauthenticator.