© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•4y ago•
27 replies
Solias

useUser hook returning null

I followed this for my nextJS project
https://supabase.com/docs/guides/auth/auth-helpers/nextjs

And when I try to use the useUser() hook, it always returns null. Why?
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

getClaims returning null
SupabaseSSupabase / help-and-questions
4mo ago
updating user returning null
SupabaseSSupabase / help-and-questions
4y ago
Supabase query data returning null
SupabaseSSupabase / help-and-questions
4mo ago
useUser and page flashing
SupabaseSSupabase / help-and-questions
4y ago