From 430acc1559eb686f8b7c693e8432dc332c0ce7e1 Mon Sep 17 00:00:00 2001 From: Min RK Date: Wed, 4 Dec 2024 10:51:16 +0100 Subject: [PATCH] health: expire cookies after 1 day should reduce expired tokens while we wait for refresh tokens to be redeployed --- config/clusters/jupyter-health/staging.values.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config/clusters/jupyter-health/staging.values.yaml b/config/clusters/jupyter-health/staging.values.yaml index 1d4b81ea0..b1c2096b2 100644 --- a/config/clusters/jupyter-health/staging.values.yaml +++ b/config/clusters/jupyter-health/staging.values.yaml @@ -15,6 +15,9 @@ jupyterhub: # requires logging into this hub. But since Jupyter Health team members have access to this # repo, this is acceptable authenticator_class: generic-oauth + # set cookie max age to 1 + # while we don't have refresh tokens enabled + cookie_max_age_days: 1 GenericOAuthenticator: client_id: Ima7rx8D6eko0PzlU1jK28WBUT2ZweZj7mqVG2wm oauth_callback_url: https://staging.jupyter-health.2i2c.cloud/hub/oauth_callback