Skip to content

Commit

Permalink
Remove my debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
enolfc committed Oct 7, 2024
1 parent 8a0d145 commit dabf9dd
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions egi_notebooks_hub/egiauthenticator.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,13 +109,9 @@ async def get(self):
"token_type": "bearer",
}
user = await self.login_user(token_info)
print("&" * 80)
print(user)
if user is None:
raise web.HTTPError(403, self.authenticator.custom_403_message)
auth_state = await user.get_auth_state()
print("*" * 80)
print(auth_state)
if auth_state and not auth_state.get("refresh_token", None):
self.log.debug("Refresh token is not available")
refresh_token = await self.exchange_for_refresh_token(jwt_token)
Expand Down

0 comments on commit dabf9dd

Please sign in to comment.