Skip to content

Commit

Permalink
changing jupyterhub_config.py to handle null hosted_domain for Google…
Browse files Browse the repository at this point in the history
…OAuth
  • Loading branch information
awstown committed Apr 26, 2018
1 parent 7d481ca commit d378a69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion images/hub/jupyterhub_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@
c.GoogleOAuthenticator.client_id = get_config('auth.google.client-id')
c.GoogleOAuthenticator.client_secret = get_config('auth.google.client-secret')
c.GoogleOAuthenticator.oauth_callback_url = get_config('auth.google.callback-url')
c.GoogleOAuthenticator.hosted_domain = get_config('auth.google.hosted-domain')
set_config_if_not_none(c.GoogleOAuthenticator, 'hosted_domain', 'auth.google.hosted-domain')
c.GoogleOAuthenticator.login_service = get_config('auth.google.login-service')
email_domain = get_config('auth.google.hosted-domain')
elif auth_type == 'github':
Expand Down

0 comments on commit d378a69

Please sign in to comment.