rp
02/07/2021, 5:17 AMrp
02/07/2021, 5:18 AMtredstone
02/07/2021, 5:25 AMSession.refreshSession
and return a response.
are there any issues with just passing in this config for the Session recipe during setup on the backend?
{
sessionExpiredStatusCode: 440,
}
tredstone
02/07/2021, 5:30 AMrp
02/07/2021, 5:32 AMsessionExpiredStatusCode
to 440.. but be sure to set this on the frontend and backend SDKs.tredstone
02/07/2021, 5:35 AMrp
02/07/2021, 5:37 AMrp
02/07/2021, 5:37 AMtredstone
02/07/2021, 5:41 AMtredstone
02/07/2021, 5:43 AMsessionExpiredStatusCode
one thing that's not clear to me is how the token refresh flow works given that the sdk is trying to control part of thisrp
02/07/2021, 5:43 AMrp
02/07/2021, 5:43 AMrp
02/07/2021, 5:44 AMtredstone
02/07/2021, 5:44 AMrp
02/07/2021, 5:44 AMdisableDefaultImplementation
to false
rp
02/07/2021, 5:45 AMtredstone
02/07/2021, 5:46 AMtredstone
02/07/2021, 5:47 AMrp
02/07/2021, 5:49 AMapiBasePath
is /auth
. So the default refresh API is /auth/session/refresh
tredstone
02/07/2021, 5:56 AMtredstone
02/09/2021, 2:47 PMsupertokens-sdk-version
supertokens-sdk-name
This was after integrating with superTokens in the front end and modifying the axios instancetredstone
02/09/2021, 2:48 PMrp
02/09/2021, 2:54 PMrp
02/09/2021, 2:54 PMtredstone
02/09/2021, 9:48 PMrp
02/10/2021, 5:21 AMtredstone
02/10/2021, 5:23 AMrp
02/10/2021, 5:23 AMuser
02/10/2021, 1:21 PM