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.
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.