From eb93fd6daedbdc481e6d31eab7b4eac59b7c52e5 Mon Sep 17 00:00:00 2001 From: garciagenrique Date: Tue, 12 Nov 2024 14:58:36 +0100 Subject: [PATCH] debug token exchange 2 --- infrastructure/cluster/flux/jhub/jhub-release.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/infrastructure/cluster/flux/jhub/jhub-release.yaml b/infrastructure/cluster/flux/jhub/jhub-release.yaml index 1535c9f..b61a891 100644 --- a/infrastructure/cluster/flux/jhub/jhub-release.yaml +++ b/infrastructure/cluster/flux/jhub/jhub-release.yaml @@ -94,12 +94,13 @@ spec: 'audience': 'rucio' } response = requests.post(self.token_url, data=params) + pprint.pprint("RESPONSE:\n", response.json()) rucio_token = response.json()['access_token'] return rucio_token async def pre_spawn_start(self, user, spawner): auth_state = await user.get_auth_state() - pprint.pprint(auth_state) + pprint.pprint("AUTH_state:\n", auth_state) if not auth_state: # user has no auth state return False