I have a strange case where a request to the signout API returns a 401 in production. What’s the reason for that? How can I solve it? The issue is that users are basically never able to sign off
r
rp_st
09/22/2023, 1:43 PM
hey @Ale, Pocket this means that the access token has expired. It should trigger an auto refresh
a
Ale, Pocket
09/22/2023, 1:49 PM
I notice that a request to our service graphql api returns 401 because the session can’t be verified. But the consequent request to refresh the session triggered by the st sdk returns 200
r
rp_st
09/22/2023, 2:52 PM
Hmm. I would need to know what the debug logs say
rp_st
09/22/2023, 2:53 PM
Could you enable this in prod and show the output during one such verification failure
SuperTokens is an open source authentication solution offering features like: Different types of login: Email / password, Passwordless (OTP or Magic link based).