Skip to content
FirstUser

For builders shipping this week

Sign-up says "check your inbox", but no email comes: the address already has an account

Test the path a brand-new visitor takes — free. FirstUser signs up on your live URL with a fresh email, confirms, logs in and tries checkout, then hands you a screenshot of the step that broke and a fix prompt. Run a free test.

Note: FirstUser always signs up with a new address. The "email already has an account" case on this page is one you check by hand (step 4).

Someone signs up on your Lovable, Bolt or Supabase app. The form says "Check your email". Nothing arrives, not even in spam. Often the reason is simple: that address already has an account. Maybe they signed up last week and forgot, or they first came in with Google.

Supabase hides this on purpose, so that a stranger can't use your sign-up form to find out who is registered. Supabase's JavaScript reference says: "if a user account exists in the system you may get back an error message that attempts to hide this information from the user."

What exactly comes back depends on two settings (from Supabase's Dart and Python references, for an existing confirmed user):

  • Confirm email and Confirm phone are both enabled (Confirm phone counts even when the phone provider is off): signUp returns an obfuscated, fake user and no error. No email is sent. Your app shows "check your inbox".
  • Either one is disabled: signUp returns the error "User already registered".

Hosted Supabase projects have Confirm email on by default, so many apps land in the first case without knowing it.

4 fixes, in order

1. Don't promise an email you can't confirm was sent

Change the success screen to something that is true in both cases:

If this email is new, we've sent you a confirmation link. Already have an account? Log in or reset your password.

That one sentence rescues most returning visitors, because they now have a next step.

2. Detect the fake user (community-tested, not officially documented)

Developers in GitHub issue supabase/auth-js#513 report that the fake user comes back with an empty identities array, while a real new sign-up has one identity. Supabase has not confirmed this in the docs, so use it only to choose friendlier wording, never for security decisions:

const { data, error } = await supabase.auth.signUp({ email, password })
if (error) { /* see step 3 */ }
else if (data.user && data.user.identities?.length === 0) {
  // Probably an existing account: offer "Log in" and "Forgot password?"
} else {
  // New account: show "check your inbox"
}

Re-check this after Supabase updates, because undocumented behavior can change.

3. Handle the error by code, not by message text

When the error case applies, check error.code instead of matching the text. Supabase's error code list includes user_already_exists ("User with this information … cannot be created again as it already exists") and email_exists ("Email address already exists in the system"). Show a "Log in instead" button for both.

4. Test the repeat sign-up yourself, on the live URL

  1. Open your live site (not the editor preview) in a private window.
  2. Sign up with an address that already has a confirmed account.
  3. Look at what the screen says, and whether the visitor has a way to log in or reset the password from there.
  4. If the account was created with Google, try the password reset too: a Google-only account may have no password, so the reset email is the only way in. For Google sign-in problems, see Lovable Google login not working.

Then run the new-visitor path: free FirstUser test.

Not this problem?

FAQ

Why does the form say "check your inbox" when no email arrives?
For an existing confirmed user, Supabase's Dart and Python signUp references say signUp returns an obfuscated fake user and no error when Confirm email and Confirm phone are both enabled. No email is sent. Hosted projects have Confirm email on by default, so the app can show "check your inbox" for an address that already has an account.
Is an empty identities array official?
No. Developers in GitHub issue supabase/auth-js#513 report that the fake user has an empty identities array, while a real new sign-up has one identity. Supabase has not confirmed this in the docs. Use it only to choose friendlier wording, never for a security decision, and re-check it after Supabase updates.
Can FirstUser catch a sign-up with an email that already has an account?
No. FirstUser always signs up with a new address. It tests the path a brand-new visitor takes, and a failed step includes a screenshot and a fix prompt. The repeat sign-up on this page is one you check by hand, on the live URL, in a private window.

One fix like this per email

A short tip each day for Lovable, Bolt and Cursor apps. Unsubscribe anytime.

We'll email that address. Privacy policy

Sources