Skip to content
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

feat: password field improvements #29

Open
rudokotrla opened this issue Apr 14, 2024 · 1 comment
Open

feat: password field improvements #29

rudokotrla opened this issue Apr 14, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@rudokotrla
Copy link
Contributor

rudokotrla commented Apr 14, 2024

Reason for feature

Password fields in register form and credentuals form don't have a visibility tooge button nor they show any sort of feedback related to password strength.

Proposed solution

Integrate some sort of password weak-strong live-feedback.
Also all password input components could have a view password toggle button.

Alternatives / Available workarounds

None; using other services to check password strength - not good UX

Additional context

No response

@rudokotrla
Copy link
Contributor Author

With password strength live feedback I basically see 3-4 options:

  • primitive - compose set of rules that password must meet and then score in the weighted way
  • more complex using library like https://github.com/dropbox/zxcvbn with which we can:
    • since its downside is computation complexity and bundle size we could have a Next API route for this so the library's code wouldn't even get to the client
  • use third party API service - not recommended due to security reasons, relying on 3rd party

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant