From cc87c39cbe20c1b09335f16b935e4d9d13742b3a Mon Sep 17 00:00:00 2001 From: garciagenrique Date: Tue, 12 Nov 2024 16:42:53 +0100 Subject: [PATCH] add oauth_callback --- infrastructure/cluster/flux/jhub/jhub-release.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/infrastructure/cluster/flux/jhub/jhub-release.yaml b/infrastructure/cluster/flux/jhub/jhub-release.yaml index 3d8c3a4..27373e7 100644 --- a/infrastructure/cluster/flux/jhub/jhub-release.yaml +++ b/infrastructure/cluster/flux/jhub/jhub-release.yaml @@ -60,6 +60,7 @@ spec: authorize_url: https://iam-escape.cloud.cnaf.infn.it/authorize token_url: https://iam-escape.cloud.cnaf.infn.it/token userdata_url: https://iam-escape.cloud.cnaf.infn.it/userinfo + oauth_callback_url: https://jhub-vre.cern.ch/hub/oauth_callback username_key: preferred_username enable_auth_state: true allow_all: true @@ -111,8 +112,6 @@ spec: # define token environment variable from auth_state spawner.environment['RUCIO_ACCESS_TOKEN'] = self.exchange_token(auth_state['access_token']) spawner.environment['EOS_ACCESS_TOKEN'] = auth_state['access_token'] - - spawner.environment.update({'RUCIO_ACCESS_TOKEN': self.exchange_token(auth_state['access_token'])}) # set the above authenticator as the default c.JupyterHub.authenticator_class = RucioAuthenticator