Dorji TsheringD
Convex Community2y ago
11 replies
Dorji Tshering

Convex auth `signOut` does not delete auth cookies like authJWT and refresh tokens in production

When a user signs out in production with the convex auth signOut function, the auth related cookies are not getting removed from cookie storage, whereas during development mode(on localhost), the cookies gets removed. Because of that after signing out in production if i refresh the page, the users remains as authenticated which is not what one would expect. Even it passes from middleware to protected routes which i believe is because the cookies are still there. Is this expected or do i need to do some extra steps while logging out?
Was this page helpful?