Magic link returns "Signups not allowed for OTP"
Trying to sign in via the magic link form on /login with a brand-new email returns a Supabase error: Signups not allowed for otp.
Likely a GoTrue config flag (GOTRUE_EXTERNAL_EMAIL_ENABLED / GOTRUE_DISABLE_SIGNUP) — needs to be flipped or guarded with an explicit "use OAuth for new accounts" message.
Comments (2)
- Elsama· 2 months ago
Reproduced. Root cause is
GOTRUE_DISABLE_SIGNUP=trueon the GoTrue container which blocks OTP-mediated signups too. Patching the overlay env so OTP can self-signup, and we'll surface a clearer error in the login UI. - Elsama· 2 months ago
PR ready: https://github.com/El-SaMa/hollahoop/pull/37
Guards email OTP signups in the app with clearer fallback messaging and adds GoTrue overlay notes. For brand-new email signup via OTP to work in production, deploy auth config with
GOTRUE_DISABLE_SIGNUP=falseandGOTRUE_EXTERNAL_EMAIL_ENABLED=true.
Join the discussion
Sign in to leave a comment on this thread.