Skip to content

Commit

Permalink
add ref for allow_all
Browse files Browse the repository at this point in the history
  • Loading branch information
Tianhao-Gu committed Sep 11, 2024
1 parent 8fd3d93 commit 6e9f130
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config/jupyterhub_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 6e9f130

Please sign in to comment.