diff --git a/jupyter/base/values/values.yaml b/jupyter/base/values/values.yaml index 4200988..64a1813 100644 --- a/jupyter/base/values/values.yaml +++ b/jupyter/base/values/values.yaml @@ -37,9 +37,9 @@ hub: return False access_token = auth_state['access_token'] refresh_token = auth_state['refresh_token'] - token_response = name]['token_response'] + token_response = auth_state['token_response'] now = time.time() - expires = self.user_dict[user.name]['token_expires'] + expires = auth_state['token_expires'] if now >= expires: print(f'Time is: {now}, token expired: {expires}') return False