diff --git a/jupyter/base/values/values.yaml b/jupyter/base/values/values.yaml index f4ac5fb..9a49a2a 100644 --- a/jupyter/base/values/values.yaml +++ b/jupyter/base/values/values.yaml @@ -83,9 +83,9 @@ hub: auth_state['token_expires'] = now + token_response['expires_in'] auth_state['token_response'] = token_response if debug: - print(f'Successfully refreshed token for {user}') - print(f'auth_state for {user}: {auth_state}') - return auth_state + print(f'Successfully refreshed token for {user.name}') + print(f'auth_state for {user.name}: {auth_state}') + return {'name': user.name, 'auth_state': auth_state} except Exception as e: if debug: print(f'Failed to refresh token for {user}')