Signups not allowed for this instance
Last verified:
The fix
Signups not allowed for this instance. Code signup_disabled: new accounts are off. Turn Allow new users to sign up on, or stop calling signUp.
- 1
Read error.code before you change a setting
signup_disabledis this page.email_provider_disabledmeans the email provider is off.otp_disabledwith the sentenceSignups not allowed for otpmeans this call passedshouldCreateUser: falsefor an address that is not a user yet.user_already_existsmeans the account is already there. Do not turn Confirm Email off because signup was rejected.const { error } = await supabase.auth.signUp({ email, password }); if (error?.code === "signup_disabled") { // Allow new users to sign up is off. Do not retry. } - 2
Turn the switch on only if new people should register
Built-in Lovable backend: More, then Users, then Settings. Turn Disable sign-up off. Your own Supabase project: in the Auth general configuration, turn Allow new users to sign up on. If you develop against the CLI, set
enable_signup = trueunder[auth]inconfig.tomland restart. A Lovable app pointed at your own Supabase will keep failing until that project changes. The Lovable toggle does not edit it. - 3
If signups are off on purpose, stop calling signUp
An invite-only app should not hit the public signup endpoint and then hide the error. On Lovable, Add user still creates an account while Disable sign-up is on: Send invitation, or Create new user. Remove the sign-up form, or send people who are not invited to a message that says accounts are closed. Do not catch
signup_disabledand store a fake session. - 4
Retry one signup and read the next sentence
After the switch is on, run signup once.
Database error saving new useris a trigger onauth.users, usually the profile insert.email rate limit exceededis the built-in mailer.Email not confirmedmeans the account was created and the session is waiting on the link. Those are the next pages. Do not run the form in a loop to get past them.
Why it happens
Supabase Auth returns Signups not allowed for this instance with code signup_disabled when the project refuses new accounts. The general configuration option is named Allow new users to sign up. The docs say that if it is disabled, only existing users can sign in. The signup handler is what throws. A Google return can carry the same sentence in error_description.
On Lovable's built-in backend the switch is More, then Users, then Settings, then Disable sign-up. Lovable's docs say that prevents new users from signing up, that existing users can still sign in, and that Add user still works. A project connected to your own Supabase does not use that Lovable switch. Change Allow new users to sign up on that project. Local supabase/config.toml has the same gate as auth.enable_signup, which defaults to true.
email_provider_disabled is a different code. The error list describes it as signups disabled for email and password, which is the email provider, not the project-wide switch. Signups not allowed for otp is also different. The error list describes code otp_disabled as OTP sign-in being disabled. The OTP handler returns that same code, and this sentence, when signInWithOtp is called with shouldCreateUser: false for an address that is not a user yet. Turning Disable sign-up off does not change that option.
The next error you'll probably hit
Once this is fixed, the usual follow-up is Database error saving new user. Database error saving new user. Signup reached a trigger or a constraint on auth.users and that statement failed. Read the Auth log for the real Postgres error. Do not insert the user by hand.
Prompt to paste back into your AI tool
Paste this above the error.
Supabase Auth returns: Signups not allowed for this instance. error.code is <signup_disabled, otp_disabled, email_provider_disabled, or unknown>. The call is <signUp, signInWithOtp, or signInWithOAuth>. The backend is <Lovable built-in, or my own Supabase project>. Do not disable RLS. Do not insert into auth.users with SQL. Do not turn off Confirm Email. Do not put the service role key in the client. Do not retry signUp in a loop. Do not set shouldCreateUser: true to fix signup_disabled. 1. If the code is otp_disabled and the message is Signups not allowed for otp, say shouldCreateUser is false for an address with no account. Do not tell me to toggle Disable sign-up. 2. If the code is email_provider_disabled, say the email provider is off. Do not treat it as the project-wide switch. 3. If the code is signup_disabled and new users should be allowed: Lovable built-in is More → Users → Settings → Disable sign-up off. Own Supabase is Allow new users to sign up on. A config.toml project uses enable_signup under [auth]. 4. If signups are meant to stay off, remove the signUp call. Do not invent a session. Change only the signup call's error handling if the message is being swallowed.
Common questions
+People who already have accounts can still sign in. Is the project broken?
No. Supabase says that with Allow new users to sign up disabled, only existing users can sign in. Lovable says the same for Disable sign-up: existing users sign in, and Add user still works. New signUp calls are what get Signups not allowed for this instance.
+The message is Signups not allowed for otp. Do I enable signups?
Not from this sentence. That one is otp_disabled. signInWithOtp was called with shouldCreateUser: false, and that address is not a user yet. Drop the false if new people should get a magic link. Leave it if only existing users should. signup_disabled is the project switch, and the sentence for that is Signups not allowed for this instance.
+Google sends me back with Signups not allowed for this instance in the URL. Same switch?
Yes. error_description on the redirect is the same signup_disabled refusal. On Lovable's built-in backend, turn Disable sign-up off. On your own Supabase project, turn Allow new users to sign up on. A redirect to localhost after a signup that did work is the OAuth page, not this one.
Related errors
- Database error saving new userDatabase error saving new user. Signup reached a trigger or a constraint on auth.users and that statement failed. Read the Auth log for the real Postgres error. Do not insert the user by hand.CursorLovableBoltSupabaseAuthOct 27, 2026
- email rate limit exceededemail rate limit exceeded: Supabase Auth refused another signup or reset. The built-in mailer is capped. Wait, or set custom SMTP. Resending will not help.CursorLovableBoltSupabaseAuthOct 16, 2026
- Email not confirmedSupabase Auth refused sign-in because this user has not confirmed their email. The error code is email_not_confirmed.CursorLovableBoltSupabaseAuthOct 27, 2026
- Invalid login credentialsInvalid login credentials. Supabase Auth code invalid_credentials. The email and password did not match a password user. This is not Email not confirmed.CursorLovableBoltSupabaseAuthOct 27, 2026