© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•4y ago•
45 replies
HunterAndersonX

Using next with Auth.useUser() throws hydration error

I've basically implemented exactly https://github.com/supabase/supabase/blob/master/examples/todo-list/nextjs-todo-list/pages/index.js but get a React Hydration Error any time I try to access the page while authorized. All the documentation Supabase docs I can find point to the same implementation. This is supa frustrating...
GitHub
supabase/index.js at master · supabase/supabase
The open source Firebase alternative. Follow to stay updated about our public Beta. - supabase/index.js at master · supabase/supabase
supabase/index.js at master · supabase/supabase
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

Auth error with Next.js example
SupabaseSSupabase / help-and-questions
4y ago
Issue with "Confirm your email" auth (using next.js)
SupabaseSSupabase / help-and-questions
3mo ago
Supabase Auth with Next.js
SupabaseSSupabase / help-and-questions
4y ago
useUser hook returning null
SupabaseSSupabase / help-and-questions
4y ago