MukundM
Convex Community10mo ago
1 reply
Mukund

Convex Auth Cookie Token in Tanstack Start

I have a Next.js project with Convex and Convex Auth that stores token and refreshToken in cookies. I created a similar project in Tanstack Start with convex and it stores token and refreshToken in localStorage. I am not very familiar with auth and good practices. So is it OK to store token and refreshToken in localStorage. what are the benefits or drawbacks of localStorage tokens?
Also is there any way to store token and refreshToken in cookies?
Was this page helpful?