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
rp_st
11/11/2022, 5:44 PM
hey @kumar_ayush
rp_st
11/11/2022, 5:44 PM
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
kumar_ayush
11/12/2022, 2:48 AM
Excellent. I got it working, I have learnt a lot, and your support is outstanding. ♥ from India.
SuperTokens is an open source authentication solution offering features like: Different types of login: Email / password, Passwordless (OTP or Magic link based).