Some third party authentication providers (eg, Amazon Cognito) implement strict password policies, up to and including:
A minimum password length.
A minimum number of capital letters.
A minimum number of special characters (!,@,#,$,% etc).
A minimum number of numerical digits.
The reasoning for breaking the form validation logic out to the LoginCredentialsValidationProtocol protocol was for this reason, so extending the form validation logic should be quite straightforward.
Additionally, for a good user experience, inserting a label explaining the password rules would also be desired.
Some third party authentication providers (eg, Amazon Cognito) implement strict password policies, up to and including:
The reasoning for breaking the form validation logic out to the
LoginCredentialsValidationProtocol
protocol was for this reason, so extending the form validation logic should be quite straightforward.Additionally, for a good user experience, inserting a label explaining the password rules would also be desired.