From cdb9e850f597c531f22a84d8966857cfd0b61dcb Mon Sep 17 00:00:00 2001 From: garciagenrique Date: Wed, 2 Oct 2024 09:55:57 +0200 Subject: [PATCH] change exchange_token --- infrastructure/cluster/flux/jhub/jhub-release.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/infrastructure/cluster/flux/jhub/jhub-release.yaml b/infrastructure/cluster/flux/jhub/jhub-release.yaml index b2bea56..8f51213 100644 --- a/infrastructure/cluster/flux/jhub/jhub-release.yaml +++ b/infrastructure/cluster/flux/jhub/jhub-release.yaml @@ -84,8 +84,9 @@ spec: 'client_secret': self.client_secret, 'grant_type': 'urn:ietf:params:oauth:grant-type:token-exchange', 'subject_token': token, - 'scope': 'openid profile wlgc.groups', - 'audience': 'rucio' + 'scope': 'openid profile', + 'audience': 'rucio', + 'wlgc_groups': 'escape' } response = requests.post(self.token_url, data=params) rucio_token = response.json()['access_token']