Hey, I am using supertokens to setup authentication between website and chrome extension. When I lo...
k
Hey, I am using supertokens to setup authentication between website and chrome extension. When I login for the first time it works as expected. But after sometime, when the accessToken expires, and i try to get a request from server it says accessToken expired. Please use refresh token, but I am not seeing any refresh token in the cookie, I can only see sIdRefreshToken, sIRTFrontend, sFrontToken
r
hey @kumar_ayush
the refresh token can be seen if you navigate to the refresh API path
${apiBasePath}/session/refresh
. The reason for this is that the path config of the cookie is set to that, so chrome only shows the cookie when you visit that path
k
Excellent. I got it working, I have learnt a lot, and your support is outstanding. ♥ from India.
r
great!
5 Views