From 67d642040f402c63978ff2c27458a3caeced3665 Mon Sep 17 00:00:00 2001 From: Micke Nordin Date: Fri, 12 Jan 2024 10:19:33 +0100 Subject: [PATCH] Fix my bug --- jupyter/base/values/values.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jupyter/base/values/values.yaml b/jupyter/base/values/values.yaml index 5a6629d..d2880d0 100644 --- a/jupyter/base/values/values.yaml +++ b/jupyter/base/values/values.yaml @@ -13,7 +13,7 @@ hub: oauthCode: | c.JupyterHub.authenticator_class = "generic-oauth" c.GenericOAuthenticator.client_id = os.environ['NEXTCLOUD_CLIENT_ID'] - c.GenericOAuthenticator.client_secret = os.environ['NEXTCLOUD_CLIENT_ID'] + c.GenericOAuthenticator.client_secret = os.environ['NEXTCLOUD_CLIENT_SECRET'] c.GenericOAuthenticator.login_service = 'Sunet Drive' c.GenericOAuthenticator.username_claim = lambda r: r.get('ocs', {}).get('data', {}).get('id') c.GenericOAuthenticator.username_key = lambda r: r.get('ocs', {}).get('data', {}).get('id')