Ferdinand
Ferdinand5mo ago

AuthSessions and AuthRefreshTokens not deleted after signOut

Hello there! I am using convex auth with google provider and everything works perfectly in production and development. The issue here is every time I sign out the sessions are not deleted in prod and dev. That means if I sign in again, a second session will be created, and so on.
5 Replies
jCtapuk
jCtapuk5mo ago
When exiting, it appears that the token and session have been revoked. Why worry? Or did you mean that you still have localStorage or cookies.
Ferdinand
FerdinandOP5mo ago
In my dashboard the sessions are not deleted Any updates for me dear community! My local storage cookies are deleted but the sessions in my convex database are not deleted. If I sign in 5 times I will have 5 different sessions in my database for the same user My problem has just been solved.
Oren
Oren5mo ago
@Ferdinand I see I have the same problem how did you solve it?
Michal Srb
Michal Srb5mo ago
@Oren update to latest version of @convex-dev/auth
Oren
Oren5mo ago
thank you works now 👍

Did you find this page helpful?