Urgent: Need help in my production app with new users not being able to sign in

The issue is - when they go to sign in with said email and password - it is not actually signing them in. I see the auth token saved to my cookies, and when I console log the data response from the SignInWithEmailAndPassword() it shows all the data there.

The weird part is on older accounts, like the one I made when I first launched and my original users - we can all sign in fine no problem. It is only newly created accounts that cannot sign in. I confirmed evrything on the supabase side seems to be working, it says the emails were confirmed etc.. but still no luck. Not sure where to really begin here.

I am using Turnstile for CAPTCHA protection, and have since I launched. I also am using supabase email/pw auth.

Signup flow works fine - they create an account, they get the confirmation email with the "click here to confirm" and they confirm their email. It all works right and supsbase auth is showing their data inserted into both the auth table and "user profiles" table. as well.

In my Remix action function I am calling it like this
const { data,error } = await supabase.auth.signInWithPassword({
    email,
    password,
    options: { captchaToken },
  });

  console.log("Supabase signInWithPassword response:", data, error);

and it console logs the object with the token, session info, etc..
Was this page helpful?