jupyterhub的身份验证器,它针对openbis进行身份验证。
jupyter-openbis-authenticator的Python项目详细描述
jupyter openbis身份验证器
兼容性
此验证器仅适用于jupyterhub>;0.8.0。此模块在0.8.1版中进行了测试
身份验证器使用spawner.environment
功能在会话创建期间修改用户环境变量。JupyterHub版本0.8.0引入了此功能。
安装
pip install jupyter_openbis_authenticator
Jupyterhub配置
编辑您的jupyterhub_config.py
文件并添加以下类以针对openbis进行身份验证:
c.JupyterHub.authenticator_class = 'jupyter_openbis_authenticator.auth.OpenbisAuthenticator'
# enable persisting auth_state:
c.Authenticator.enable_auth_state = True