Update jupyterhub_config.py
Browse files- jupyterhub_config.py +4 -1
jupyterhub_config.py
CHANGED
@@ -3,4 +3,7 @@ import os
|
|
3 |
c.JupyterHub.authenticator_class = "github"
|
4 |
c.OAuthenticator.oauth_callback_url = "https://tekknoman-ocr.hf.space/hub/oauth_callback"
|
5 |
c.OAuthenticator.client_id = os.environ['CLIENT_ID']
|
6 |
-
c.OAuthenticator.client_secret = os.environ['CLIENT_SECRET']
|
|
|
|
|
|
|
|
3 |
c.JupyterHub.authenticator_class = "github"
|
4 |
c.OAuthenticator.oauth_callback_url = "https://tekknoman-ocr.hf.space/hub/oauth_callback"
|
5 |
c.OAuthenticator.client_id = os.environ['CLIENT_ID']
|
6 |
+
c.OAuthenticator.client_secret = os.environ['CLIENT_SECRET']
|
7 |
+
|
8 |
+
c.Authenticator.allowed_users = {'EloiMusk', 'slowlorizz'}
|
9 |
+
c.Authenticator.admin_users = {'EloiMusk'}
|