[firebase_auth] Feature: Check password strength #3594
Unanswered
joaomagfreitas
asked this question in
Feature request
Replies: 1 comment
-
Any news on this? |
Beta Was this translation helpful? Give feedback.
0 replies
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.
-
It seems that on signup with email & password credentials, an exception might be thrown with the code:
weak-password
. However it seems thatfirebase_auth
does not include a method or function to check the strength of a password by a given string. Having a feature that does this verification is crucial since we're relying on Firebase policies regarding password strength, and implementing such verification on the app side will not be consistent because the developers will imply their policies on strength but Firebase is the one with the final word.After google digging, I've found out that on Android the password length is verified and if it has less than 6 characters, it is considered as false. However, I don't know if the same is applied on the iOS and Web SDK code.
https://firebase.google.com/docs/reference/android/com/google/firebase/auth/FirebaseAuthWeakPasswordException
Beta Was this translation helpful? Give feedback.
All reactions