© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•4y ago•
3 replies
Corentin_dev

Is Anyone already use UseUser from auth helper react and nextjs

Hello,

When I login, and get redirect I get a call to api/auth/user to get the user back but the problem is this first call after login come back with status 304, and I don't get the data

When I leave the page and comeback I do get another call with status 200 and the data.

I really don't understand why I have this 302 blocking user data for coming back.

Do you have any idea of the cause of this problem ?
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

Nextjs Auth Helper Error
SupabaseSSupabase / help-and-questions
4y ago
withMiddlewareAuth nextjs auth helper
SupabaseSSupabase / help-and-questions
4y ago
Nextjs Auth helper example does not run
SupabaseSSupabase / help-and-questions
4y ago
useUser and page flashing
SupabaseSSupabase / help-and-questions
4y ago