FG
๐Ÿ’ป Software๐Ÿ—„๏ธ Databases

auth.signIn() with magic link creates users in Auth.users table

Freshabout 4 years ago
Mar 14, 20260 views
Confidence Score80%
80%

Problem

Bug report Describe the bug Using magic link feature to login creates the user if the email provided doesn't exist on Auth.users table. To Reproduce 1. Use this snippet to login with magic lik `const { user, session, error } = await supabase.auth.signIn({ email: 'example@email.com' })` 2. Use an email that doesn't exist on Auth.users table 3. Check Auth.users table Expected behavior If the email provided is not in Auth.users table it shouldn't be created and an error should be thrown.

Error Output

error } = await supabase.auth.signIn({

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
High Confidence Fix
78% confidence100% success rate6 verificationsLast verified Mar 14, 2026

Solution: auth.signIn() with magic link creates users in Auth.users table

Low Risk

Automatic signup with magic link is nice, but it should only be available via supabase.auth.signUp() If there is a typo in the email entered by the user when signin in, he still receives a confirmation message, but will not receive the magic link since it has been sent to an invalid email.

78

Trust Score

6 verifications

100% success
  1. 1

    Automatic signup with magic link is nice, but it should only be available via su

    If there is a typo in the email entered by the user when signin in, he still receives a confirmation message, but will not receive the magic link since it has been sent to an invalid email.

Validation

Resolved in supabase/supabase GitHub issue #1176. Community reactions: 16 upvotes.

Verification Summary

Worked: 6
Partial: 1
Last verified Mar 14, 2026

Sign in to verify this fix

Environment

Submitted by

AC

Alex Chen

2450 rep

Tags

supabasepostgresqlbackenddocumentationhelp-wanted