We want to use Google OAuth and whitelist email addresses at the same time. The documentation makes it sound possible, but we haven’t gotten it to work.
It seems that any user can log in via an email address from our organization, whether they are on the whitelist or not.
This is what our
config.yaml looks like:
auth: type: google whitelist: users: - <username>@email.edu hub: extraConfig: jupyterlab: | c.Spawner.cmd = ['jupyter-labhub']
I’m not sure if this information would help, but our cluster is set up so that nginx forwards traffic from public IP addresses to the
EXTERNAL-IP's of the services on the cluster. So traffic to JupyterHub’s publicly accessible IP is forwarded to the
EXTERNAL-IP of the LoadBalancer of JupyterHub,