Update password validation in auth demo to be in each auth flow with a password #7487
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Update the auth demo to move password validation under sign-in, sign up, and password reset sections. Also, include displaying enforcementState and forceUpgradeOnSignin properties to the user.
Sign-in: https://drive.google.com/file/d/1mmbARlYG6Ts90aCOdi4MPOKV5VLsvptH/view?usp=drive_link
Sign up: https://drive.google.com/file/d/1dHKAI42qDyXRG4bS07O2uDjUBeEk32VT/view?usp=drive_link
Password reset: https://drive.google.com/file/d/1yqtpak9ZToeg1WC_0aU5RHrFbDEkMTjo/view?usp=drive_link
Requirements are shown underneath password inputs as the user types. If the password field is empty and loses focus, then the requirements are hidden. Users are still allowed to submit passwords that do not meet the displayed requirements, since they will be rejected by the backend.