How can I change Supabase's minimum password length on the managed service? #13315
OyugoObonyo
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
We keep getting forgot password tickets from our users. As such, we have decided to build up an auth service that uses the phone number and PIN combination. We intend to build this on top of Supabase's auth. Since supabase auth doesn't directly support phone number and PIN combinations for signing up/signing in, we intend to use the phone number-password combination and then store the PIN as a password. For easier memorization, it is crucial that the numeric PIN has only 4 digits. Supabase passwords however only accept entries with a minimum of 6 characters. Is there a way, on the cloud-managed Supabase platform, to change this requirement to allow 4 to be the minimum length of our password?
All reactions