© 2026 Hedgehog Software, LLC

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

React authentication not working as expected

I am using SupaBase Auth in my React app and when I sign in, it signs in as per normal and the homepage loads, but when I refresh the web browser and access the app again. I just get a blank screen and it look like the
authStateChange
authStateChange
event hasn't fired. Is this event fired on page load or am I missing something?

Help would be greatly appreciated.
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

v2 Realtime not working as expected.
SupabaseSSupabase / help-and-questions
4y ago
Reset password link not working as expected
SupabaseSSupabase / help-and-questions
4mo ago
Realtime subscription callback not working as expected
SupabaseSSupabase / help-and-questions
4y ago
signInWithOAuth redirect to not working as expected
SupabaseSSupabase / help-and-questions
4y ago