.atambo
06/27/2023, 7:11 PMTryRefreshTokenError: Signature has expired
being raised from the backend sometimes and I'm wondering what I should do about it?rp_st
06/27/2023, 7:13 PMrp_st
06/27/2023, 7:13 PMrp_st
06/27/2023, 7:14 PMrp_st
06/27/2023, 7:20 PM.atambo
06/27/2023, 9:07 PMFile
"/opt/conda/envs/szl/lib/python3.10/site-packages/supertokens_python/recipe/session/framework/fastapi/__init__.py", line 42, in func
session = await recipe.verify_session(
File "/opt/conda/envs/szl/lib/python3.10/site-packages/supertokens_python/recipe/session/recipe.py", line 358, in verify_session
return await self.api_implementation.verify_session(
File "/opt/conda/envs/szl/lib/python3.10/site-packages/supertokens_python/recipe/session/api/implementation.py", line 90, in verify_session
return await get_session_from_request(
File "/opt/conda/envs/szl/lib/python3.10/site-packages/supertokens_python/recipe/session/session_request_functions.py", line 172, in get_session_from_request
session = await recipe_interface_impl.get_session(
File "/opt/conda/envs/szl/lib/python3.10/site-packages/supertokens_python/recipe/session/recipe_implementation.py", line 219, in get_session
response = await session_functions.get_session(
File "/opt/conda/envs/szl/lib/python3.10/site-packages/supertokens_python/recipe/session/session_functions.py", line 185, in get_session
raise e
File "/opt/conda/envs/szl/lib/python3.10/site-packages/supertokens_python/recipe/session/session_functions.py", line 153, in get_session
access_token_info = get_info_from_access_token(
File "/opt/conda/envs/szl/lib/python3.10/site-packages/supertokens_python/recipe/session/access_token.py", line 129, in get_info_from_access_token
raise_try_refresh_token_exception(e)
File "/opt/conda/envs/szl/lib/python3.10/site-packages/supertokens_python/recipe/session/exceptions.py", line 32, in raise_try_refresh_token_exception
raise TryRefreshTokenError(ex) from None
supertokens_python.recipe.session.exceptions.TryRefreshTokenError: Signature has expired
.atambo
06/27/2023, 9:10 PMsupertokens-python
backend sdk version 0.14.6
.atambo
06/27/2023, 9:11 PMsupertokens-react-native
frontend sdk version 4.0.3
.atambo
06/27/2023, 9:12 PM.atambo
06/27/2023, 9:24 PM.atambo
06/27/2023, 9:24 PM.atambo
06/27/2023, 9:26 PMrp_st
06/28/2023, 4:21 AM.atambo
06/28/2023, 12:52 PM.atambo
06/28/2023, 12:53 PMrp_st
06/28/2023, 1:01 PMTryRefreshTokenError: Signature has expired
for now. But, just to be sure, maybe setup your backend so that the next time this type of error is logged out, you can check in your logs that the refresh API was called immediately after (which it should be).rp_st
06/28/2023, 1:43 PMrp_st
06/28/2023, 1:44 PMrp_st
06/28/2023, 4:36 PMrp_st
06/28/2023, 4:47 PM