© 2026 Hedgehog Software, LLC

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

supabase.auth.signIn is not a function

Most likely a stupid, stupid question. Apologies in advance.

Problem: when calling supabase.auth.signIn({...}), error "supabase.auth.signIn is not a function" is thrown.

Background:
I went through the quick start here https://supabase.com/docs/guides/with-react and could work with the magic link without issue. Decided to try email sign in. Both supabase.auth.signIn and supabase.auth.session() throw the error as described above as I'm trying to sign in/check the session with email log in. I moved my createClient() code to the same react file instead of importing, same issue. I've went through a number of forum posts/youtube tutorials looking for a solution, but most seem to be using similar code to me without issue.

Would really appreciate any help on this.
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

Uncaught TypeError supabase.auth.user is not a function
SupabaseSSupabase / help-and-questions
4y ago
client.auth.signIn() not a function in newer versions?
SupabaseSSupabase / help-and-questions
4y ago
supabase auth signin with Apple incomplete
SupabaseSSupabase / help-and-questions
4mo ago
Supabase Apple Signin
SupabaseSSupabase / help-and-questions
7mo ago