password strength checker on the login or signup page
Is your feature request related to a problem? Please describe.
Yes. Currently, users have no way of knowing whether their password is strong or weak while typing it during registration or login. This can lead to weaker passwords being used and poor security practices.
Describe the solution you'd like
I would like to add a password strength checker to the login/signup page that:
- Gives real-time feedback on password strength (e.g., Weak, Medium, Strong)
- Uses visual indicators (like color bars or messages)
- Encourages users to use strong passwords (combination of letters, numbers, and special characters)
Describe alternatives you've considered
- Allowing password input without feedback (not recommended for user security)
- Only checking password strength on form submission (less interactive)
Additional context
Here’s an example JavaScript-based logic for a basic password strength check:
function checkPasswordStrength(password) {
let strength = 0;
if (password.length >= 8) strength++;
if (/[A-Z]/.test(password)) strength++;
if (/[0-9]/.test(password)) strength++;
if (/[^A-Za-z0-9]/.test(password)) strength++;
if (strength <= 1) return "Weak";
if (strength === 2) return "Medium";
if (strength >= 3) return "Strong";
}
Hello! I’m interested in working on this issue as part of GSSoC’25.
I'd like to implement a password strength checker on the login and signup pages that provides real-time feedback to users. The checker will evaluate the password based on key parameters like:
Length
Use of uppercase and lowercase letters
Numbers
Special characters
Avoiding common passwords
It will display strength levels (e.g., Weak, Moderate, Strong) along with suggestions for improvement. I can also add visual indicators like a progress bar or color changes.
Please let me know if you have any specific design or validation requirements. Looking forward to contributing!
Thanks 🙌
i have done this before please assign me this issue @RAJVEER42
Please guys wait for us to assign the issues. It is advised not to work on anything just yet. This project is a part of GSSoC 2025 but we have not received permission to let the contributions begin as of now. So Please wait until then.
@RAJVEER42 @myselfsneha @ShrishtiMangla
@RAJVEER42 You are assigned this issue. You can start working
@CoderUzumaki Bro not able to run your code on my local machine, went through your readme.md and also the Learn.md still not able to do it.
@CoderUzumaki Bro not able to run your code on my local machine, went through your readme.md and also the Learn.md still not able to do it.
Hey @RAJVEER42, please ensure the dependencies and dotenv are properly configured. If the issue persists, please specify the exact error you're facing.
Hi @RAJVEER42,
Just checking in on the Password Strength issue, it’s been about a week since it was assigned. We wanted to follow up and see if you're still working on it or need any assistance.
If we don’t hear back within the next 24 hours, we’ll go ahead and reassign it to keep things moving forward.
Let us know either way. Thanks!
@myselfsneha are you interested to solve this issue?
@myselfsneha are you interested to solve this issue?
Hey @CoderUzumaki can you assign this task to me,I want to contribute in this task. As a contributor of GSSOC'25 contributor.
@AnnaSian2006 You have been assigned to this issue. Please begin working on it at your earliest convenience. Make sure to complete the task within the expected timeline. If you need any help or guidance, feel free to reach out — we're here to support you!
Thank you, will resolve asap.
@CoderUzumakiCould you please assign me the access to this repo as a contributor , so that i would be able to clone this.
Hi @AnnaSian2006, just a quick clarification:
You're supposed to:
1.Fork this repository to your own GitHub account. 2.Clone your forked repo to your local machine. 3.Create a new branch for your fix or feature. 4.Make your changes and commit them to that branch. 5.Push the branch to your forked repo. 6.Then you’ll see an option to open a pull request from your branch to the main repo (this one).
Let us know if you need help with any of the steps! 😊
@RedK22 thanks for the clarification. will look into it.
and also how exactly you want the password strength checker to be?
- In the form of accuracy %age wise display? or 2. in the form of suggestions i.e (it should contain one cap alphabet, _ is compulsory etc.)
@AnnaSian2006 Include it as password suggestion, and display the message just below the input field in a clean and user-friendly manner. Also, consider disabling the login button until a valid password and email is entered that meets the required criteria.
alright noted.
@myselfsneha are you interested to solve this issue?
Yes, I’m definitely interested! Thank you for considering me.
I made the code for the password strength checker but when i'm running it locally after cloning it's showing some firebase error actually. i tried to inspect in console so, it's showing this