SupabaseS
Supabase11mo ago
Omer

Is there a way to keep users logged in?

I have a Next.js app with Supabase Auth, and I’ve noticed that users are logged out after a certain period (around 48 hours). I’d like to extend the session duration to keep users logged in longer, ideally for a week or even a month. However, as far as I understand, Supabase refresh tokens can only be used once. How can I implement a solution to maintain user sessions for an extended period? I couldnt find any documentation for this.
Was this page helpful?