© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•13mo ago•
4 replies
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.
Supabase banner
SupabaseJoin
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

is there a way to not enforce uniqueness of email id for oauth users?
SupabaseSSupabase / help-and-questions
4y ago
Is there a way to extend a session in Supabase? Like in NextAuth
SupabaseSSupabase / help-and-questions
3y ago
any way to keep a schema in the project?
SupabaseSSupabase / help-and-questions
7mo ago
is there a way to set cors configuration
SupabaseSSupabase / help-and-questions
4y ago