Hello team, We are using passwordless recipe but noticing an unusual behaviour. The use automatically gets logged out when they leave the ID logged in for sometime. It's happening very inconsistently. Sometimes they are being logged out after multiple days sometimes in a few hours. E.g. I logged in yesterday, I opened my websit today in the morning and I was logged in. I again opened it in the afternoon and I was logged out. Trying to understand the behaviour.
r
rp_st
04/03/2024, 8:09 AM
Hey @shuvam_22936 this could be because the session may not be auto refreshing. Im not sure about your setup, but you may want to look into that part
s
shuvam_22936
04/04/2024, 5:31 AM
I mean I am using supertokens in two projects, it is working fine in one. In the other one this is happening. Any way we can ensure that the session auto refreshes?
r
rp_st
04/04/2024, 5:37 AM
test it out. Sign in, remove the access token, and then make an API call
SuperTokens is an open source authentication solution offering features like: Different types of login: Email / password, Passwordless (OTP or Magic link based).