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

Email validation | Login & signup: User can login or signup with invalid email address #89

Open
4 tasks
samuko-things opened this issue Feb 25, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@samuko-things
Copy link
Member

samuko-things commented Feb 25, 2025

Issue description

In the API server, we want to ensure that A user signup or logging with a valid email address. for example, if a user just enters straight text: maryhasalittlelamp or maryhasalittlelamp.com or maryhasalittlelamp@ etc. instead of something with a recognizable email extension like [email protected] (for example: [email protected], [email protected] etc), it should return an error.
We want this validation to be done when the POST request is sent.

Expected behaviour

  • User should not be able to signup or login with an invalid email address.
  • Validation should be done when a POST request is received.
  • Bounces user back immediately the API notices an email that doesn't match the usual email patterns (e.g [email protected], etc.)

Additional context

Testing checklist

Note (to contributor taking on this task assignment): Add the testing checklist below (without this note) to your pull request when submitting your fix. This will guide (you and) the contributors who will review your fix to know what is important to check or test for.

  • User cannot signup or login with an invalid email address.
  • Validation is done when a POST request is received.
  • Bounces user back immediately the API notices an email that doesn't match the usual email patterns (e.g [email protected], etc.)
  • I certify that I ran my checklist
@samuko-things samuko-things added the enhancement New feature or request label Feb 25, 2025
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