© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•3y ago•
4 replies
palosandro

signInWithOtp not working with strongest Password Requirements (for new users).

Hi everyone!
I recently set the password requirements to the recommended setting (Lowercase, uppercase, digits and symbols), but that breaks the
signInWithOtp
signInWithOtp
method for new users.

When an unknown email registers I got an error from the auth API saying that the password does not satisfy the requirements but, since is a "magic link" method the user did not insert any password.

This happens only with this combination of conditions:
* the email is not registered yet
* the password requirements are set to the strongest ones (the recommended)

It works normally for already registered users (event with the strong passowrd requirement) and also for new users if you set the requirements to one of the lower ones.

Attaching a couple of screenshots.

Anyone had the same issue?

Thanks a lot for your work, supabase is great!
Screenshot_2023-12-20_at_20.58.00.png
Screenshot_2023-12-20_at_20.59.47.png
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

signInWithOtp returns weak password error
SupabaseSSupabase / help-and-questions
3y ago
Setting a New Password for Non-Authenticated Users
SupabaseSSupabase / help-and-questions
3mo ago
signinwithotp
SupabaseSSupabase / help-and-questions
3y ago
Checking users password
SupabaseSSupabase / help-and-questions
13mo ago