© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•4y ago•
16 replies
YourAverageTechBro

Can't get auth to work locally

Hey everyone, auth isn't working for me locally. I'm currently getting the error of
Invalid authentication credentials
Invalid authentication credentials
Does anyone know what might be happening here?

I'm using the Supabase auth component and set
NEXT_PUBLIC_SUPABASE_URL=http://localhost:54321
NEXT_PUBLIC_SUPABASE_URL=http://localhost:54321
and I set
NEXT_PUBLIC_SUPABASE_ANON_KEY
NEXT_PUBLIC_SUPABASE_ANON_KEY
correctly.

Am I missing something?
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-helpers - can't get RLS to work from Sveltekit endpoint
SupabaseSSupabase / help-and-questions
4y ago
Can't get AI Assistant to work
SupabaseSSupabase / help-and-questions
7mo ago
Realtime doesn't work locally.
SupabaseSSupabase / help-and-questions
4y ago
Can't get auth trigger working
SupabaseSSupabase / help-and-questions
5mo ago