You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "/home/vindex10/projects/venv/krillviz/lib/python3.10/site-packages/tornado/web.py", line 1769, in _execute
result = await result # type: ignore
File "/home/vindex10/projects/venv/krillviz/lib/python3.10/site-packages/bokeh/server/views/auth_request_handler.py", line 79, in prepare
self.current_user = await self.application.auth_provider.get_user_async(self)
File "/home/vindex10/projects/venv/krillviz/lib/python3.10/site-packages/panel/auth.py", line 1137, in get_user
if expiry > now_ts and refresh_token:
TypeError: '>' not supported between instances of 'bytes' and 'float'
it only happens when the access_token is not a jwt - which can happen sometime. but for commonly used provider - apparently it doesn't, so was not detected earlier
The text was updated successfully, but these errors were encountered:
ALL software version info
in the panel master latest source code
Description of expected behavior and the observed behavior
In this line, the cookie is read and base64decoded into bytes, the actual value is a string containing the integer:
panel/panel/auth.py
Line 1030 in 68749eb
Stack traceback and/or browser JavaScript console output
it only happens when the
access_token
is not a jwt - which can happen sometime. but for commonly used provider - apparently it doesn't, so was not detected earlierThe text was updated successfully, but these errors were encountered: