Skip to content

Instantly share code, notes, and snippets.

@szczeles
Created March 14, 2019 12:55
Show Gist options
  • Save szczeles/79995b5c08ba0ccebfc3f3121a89693b to your computer and use it in GitHub Desktop.
Save szczeles/79995b5c08ba0ccebfc3f3121a89693b to your computer and use it in GitHub Desktop.
from oauthenticator.google import LocalGoogleOAuthenticator
c.JupyterHub.authenticator_class = LocalGoogleOAuthenticator
c.LocalGoogleOAuthenticator.oauth_callback_url = 'https://jupyterhub.wikia-services.com/hub/oauth_callback'
c.LocalGoogleOAuthenticator.client_id = '__OAUTH_CLIENT_ID__'
c.LocalGoogleOAuthenticator.client_secret = '__OAUTH_CLIENT_SECRET__'
c.LocalGoogleOAuthenticator.create_system_users = True
c.LocalGoogleOAuthenticator.hosted_domain = 'wikia-inc.com'
c.LocalGoogleOAuthenticator.login_service = 'Google'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment