Skip to content

Commit

Permalink
Allow logins on JupyterHub 5.0
Browse files Browse the repository at this point in the history
We are using pam auth, so it is ok that everyone with local account can login.
See https://jupyterhub.readthedocs.io/en/latest/howto/upgrading-v5.html#authenticator-allow-all-and-allow-existing-users
  • Loading branch information
sverhoeven committed Jun 27, 2024
1 parent 2183cf7 commit b426db2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 0 additions & 3 deletions roles/grdc/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,6 @@
loop: '{{ grdc_station_zips }}'
- name: archycos
include_tasks: archycos.yml
- name: GTN-R
include_tasks: gtnr.yml
loop: '{{ grdc_gtnr }}'
- name: researchdrive archives
include_tasks: researchdrive.yml
loop: '{{ grdc_researchdrive_archives }}'
2 changes: 2 additions & 0 deletions roles/jupyter/templates/jupyterhub_config.py.j2
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,5 @@ c.JupyterHub.cleanup_proxy = False
c.JupyterHub.base_url = '/jupyter'

c.JupyterHub.template_vars = {'announcement_login': 'By logging in you accept the GRDC observation data policy at https://www.bafg.de/GRDC/EN/01_GRDC/12_plcy/data_policy_node.html'}

c.Authenticator.allow_all = True

0 comments on commit b426db2

Please sign in to comment.