From 324634180df25d96b2b63a65cf57ddec5beaec78 Mon Sep 17 00:00:00 2001 From: YuviPanda Date: Wed, 13 Dec 2023 10:48:52 -0800 Subject: [PATCH] utoronto: Enable automatic login on utoronto hubs They have a separate home page, so the hub home page itself should never be actually displayed to them. Ref https://github.com/2i2c-org/infrastructure/issues/2729 --- config/clusters/utoronto/common.values.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/config/clusters/utoronto/common.values.yaml b/config/clusters/utoronto/common.values.yaml index 1486bcf40..38df207a5 100644 --- a/config/clusters/utoronto/common.values.yaml +++ b/config/clusters/utoronto/common.values.yaml @@ -91,6 +91,12 @@ jupyterhub: concurrent_spawn_limit: 100 # We wanna keep logs long term, primarily for analytics extra_log_file: /srv/jupyterhub/jupyterhub.log + Authenticator: + # If users come directly to jupyter.utoronto.ca or any of the other hub landing pages, + # we don't actually want to show them the landing page - just auth them if needed and + # send them over to wherever they need to go. This is because there is an *external* home + # page that is sending people to appropriate locations with /hub/user-redirect. + auto_login: true CILogonOAuthenticator: allowed_idps: https://idpz.utorauth.utoronto.ca/shibboleth: