Skip to content

Commit

Permalink
debug token exchange 2
Browse files Browse the repository at this point in the history
  • Loading branch information
garciagenrique committed Nov 12, 2024
1 parent 01ca392 commit eb93fd6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion infrastructure/cluster/flux/jhub/jhub-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit eb93fd6

Please sign in to comment.