auth-js icon indicating copy to clipboard operation
auth-js copied to clipboard

supabase.auth.signUp returns 200 for existing users

Open lanbau opened this issue 3 years ago • 1 comments

Bug report

Describe the bug

const { user, error } = await supabase.auth.signUp({
        email,
        password,
      });

To Reproduce

  1. submit a signup request to https://xxx.supabase.co/auth/v1/signup with the code above for an existing user

Expected behavior

Expecting 400 error saying user has already signed up.

lanbau avatar May 22 '22 18:05 lanbau

Hey @lanbau,

Thanks for reporting this issue -- transferring this to the Supabase Auth repo so we can best track this. Can I also check if your email confirmation settings are set to True?

You can check your settings here: CleanShot 2022-07-18 at 14 45 33@2x

J0 avatar Jul 18 '22 06:07 J0

Closing as the issue has gone stale, feel free to re-open if there are still issues.

J0 avatar May 15 '23 04:05 J0