© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•4mo ago•
1 reply
Henning

Is it possible to have both server side auth and client side auth nextjs + supabase

As the title states, is it possible to have server side auth, for example in a route handler in nextjs app router, and also have the usual client side auth from supabase? Because it seems like when I log in via the client, the supabase info is only stored in localstorage and is never passed via any cookies to the backend.
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

Different Supabase URL for client side and server side breaks auth
SupabaseSSupabase / help-and-questions
5mo ago
Server side auth via the supabase React client
SupabaseSSupabase / help-and-questions
4y ago
Using Supabase in NextJS Server Side
SupabaseSSupabase / help-and-questions
13mo ago
Can you mix server-side client with client-side client (NextJS)?
SupabaseSSupabase / help-and-questions
13mo ago