Skip to content

Update password validation in auth demo to be in each auth flow with a password #7487

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

Merged
merged 3 commits into from
Jul 25, 2023

Conversation

ch5zzy
Copy link
Contributor

@ch5zzy ch5zzy commented Jul 20, 2023

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.

@changeset-bot
Copy link

changeset-bot bot commented Jul 20, 2023

⚠️ No Changeset found

Latest commit: cb6bafd

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@google-oss-bot
Copy link
Contributor

google-oss-bot commented Jul 21, 2023

@google-oss-bot
Copy link
Contributor

google-oss-bot commented Jul 21, 2023

@ch5zzy ch5zzy marked this pull request as ready for review July 21, 2023 18:21
@ch5zzy ch5zzy requested review from lisajian, prameshj, renkelvin, sam-gc and a team as code owners July 21, 2023 18:21
@ch5zzy ch5zzy requested a review from Xiaoshouzi-gh July 21, 2023 18:21
@ch5zzy ch5zzy merged commit 57ed176 into password-policy Jul 25, 2023
@ch5zzy ch5zzy deleted the update-auth-demo-new-policy-fields branch July 25, 2023 18:30
@firebase firebase locked and limited conversation to collaborators Aug 25, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants