提交 930e8515 创建 作者: 宋海霞's avatar 宋海霞

更新 jupyterhub-setup.md

上级 7d264474
...@@ -25,6 +25,22 @@ cd /opt/jupyterhub/etc/jupyterhub/ ...@@ -25,6 +25,22 @@ cd /opt/jupyterhub/etc/jupyterhub/
c.Spawner.default_url = '/lab' c.Spawner.default_url = '/lab'
#c.Authenticator.allowed_users = {'engintime','shx', 'test'} #c.Authenticator.allowed_users = {'engintime','shx', 'test'}
#c.Authenticator.admin_users = {'engintime'} #c.Authenticator.admin_users = {'engintime'}
c.Authenticator.auto_login = True
# 跳过用户接口,直接跳转到CodeCode登录页面
在配置文件中进行如下设置
c.Authenticator.auto_login = True
引用URL:https://jupyterhub.readthedocs.io/en/stable/reference/urls.html#hub-login
相关内容:
If you want to skip the user-interaction to initiate logging in via the button, you can set
c.Authenticator.auto_login = True
This can be useful when the user is “already logged in” via some mechanism, but a handshake via redirects is necessary to complete the authentication with JupyterHub.
# 查看日志 # 查看日志
......
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论