From 6e9f13040f972e5a9a99ad2b80ade35bf4592dc8 Mon Sep 17 00:00:00 2001 From: Tianhao-Gu Date: Wed, 11 Sep 2024 16:10:47 -0500 Subject: [PATCH] add ref for allow_all --- config/jupyterhub_config.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config/jupyterhub_config.py b/config/jupyterhub_config.py index 076ad5c..8b5e0f3 100644 --- a/config/jupyterhub_config.py +++ b/config/jupyterhub_config.py @@ -24,6 +24,8 @@ # Set up the admin user c.Authenticator.admin_users = {'spark_user'} # TODO set admin user password to os.environ['JUPYTERHUB_ADMIN_PASSWORD'] automatically - currently spark_user is created manually with the signup page +# Allow user who can successfully authenticate to access the JupyterHub server +# ref: https://jupyterhub.readthedocs.io/en/latest/reference/api/auth.html#jupyterhub.auth.Authenticator.allow_all c.Authenticator.allow_all = True c.JupyterHub.cookie_secret_file = f"{os.environ['JUPYTERHUB_USER_HOME']}/jupyterhub_cookie_secret"