-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Authenticator does not validate user entered password correctly #154
Comments
Thanks for the report. We'll look into the issue. |
This is a parsing logic error of the configuration, specifically it's looking for the value This logic existed in Authenticator 1.1.0 but was moved over to the Amplify library in 1.2.0 - unfortunately the faulty logic was moved as-is. So the bug exists but it is now in the Amplify library instead of Authenticator (same result, though). I'll open a new issue and fix it there, and then use this issue to track the dependency update once the Amplify release is made. |
This has been resolved in Authenticator 1.2.1 |
This issue is now closed. Comments on closed issues are hard for our team to see. |
Before creating a new issue, please confirm:
Which UI component?
Authenticator
Gradle script dependencies
Environment information
Please include any relevant guides or documentation you're referencing
No response
Describe the bug
Authenticator validates the user entered password e.g. in SignUp screen and this seems to work correctly for other rules specified in amplifyconfiguration.json -file but not for missing upper case letter ("REQUIRES_UPPERCASE" -rule). When the password doesn't meet some other rule, the Authenticator show the correct error msg to user and no NW request is made. If the Upper case letter -rule is not followed the NW request is made and the correct validation result comes from backend and "Password did not conform with policy: Password must have uppercsase characters" -message is shown to the user.
Reproduction steps (if applicable)
No response
Code Snippet
// Put your code below this line.
Log output
amplifyconfiguration.json
Additional information and screenshots
No response
The text was updated successfully, but these errors were encountered: