© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•14mo ago•
2 replies
wafflemaster123

Supabase auth NextJs why action?

in the supabase auth docs https://supabase.com/docs/guides/auth/server-side/nextjs?queryGroups=router&router=app

In the login page, why should we use a server action for login instead of using the Supabase frontend client thats created in the beginning of that doc?
Screenshot_2025-01-04_at_11.17.56_AM.jpg
Setting up Server-Side Auth for Next.js | Supabase Docs
Setting up Server-Side Auth for Next.js | Supabase Docs
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

Why is @supabase/auth-helpers-nextjs replaced by @supabase/ssr ?
SupabaseSSupabase / help-and-questions
3y ago
Check auth status in NextJS Server Action?
SupabaseSSupabase / help-and-questions
3y ago
Supabase NextJS Auth Helpers on Vercel Edge functions
SupabaseSSupabase / help-and-questions
4y ago
Looking for sample Projects integrating Supabase Auth + NextJs
SupabaseSSupabase / help-and-questions
7mo ago