Auth0 Setup#

You need to have an Auth0 OAuth application registered ahead of time, see Auth0’s official documentation about registering an app.

JupyterHub configuration#

Your file should look something like this:

c.JupyterHub.authenticator_class = "auth0"
c.OAuthenticator.oauth_callback_url = "https://[your-domain]/hub/oauth_callback"
c.OAuthenticator.client_id = "[your oauth2 application id]"
c.OAuthenticator.client_secret = "[your oauth2 application secret]"

Additional required configuration#

Auth0OAuthenticator expands OAuthenticator with the following required config, read more about it in the configuration reference: