© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•2mo ago•
2 replies
bennett

Signups not allowed for otp

authSolved
I'm trying to enable phone auth for our users. Currently, users sign up with email/password. Since we also verify their phone numbers, I want to go back and attach phone numbers to these users so they can sign in with OTP.

I set the auth user's phone and phone_confirmed option to true. However, I'm still getting "Signups not allowed for OTP" when trying to login with the phone number attached to the auth user.

Attaching phone and confirming:
const { data, error } = await supabase.auth.admin.updateUserById(
    userId,
    { phone, phone_confirm: true }
  );
const { data, error } = await supabase.auth.admin.updateUserById(
    userId,
    { phone, phone_confirm: true }
  );


Just Confirming:
const { data, error } = await supabase.auth.admin.updateUserById(
    userId,
    { phone_confirm: true }
  );
const { data, error } = await supabase.auth.admin.updateUserById(
    userId,
    { phone_confirm: true }
  );


Auth log shows:
``/otp | 422: Signups not allowed for otp
``/otp | 422: Signups not allowed for otp
Supabase banner
SupabaseJoin
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Does Supabase auth support sign ups via OTP? (`Signups not allowed for otp`)
SupabaseSSupabase / help-and-questions
14mo ago
Using OTP for Auth
SupabaseSSupabase / help-and-questions
3y ago
Assign roles at signups
SupabaseSSupabase / help-and-questions
4y ago
Resend OTP does not working
SupabaseSSupabase / help-and-questions
6mo ago