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

[chore] - check otp_auth login case statement #36

Open
ErikFerrari opened this issue Nov 17, 2023 · 0 comments
Open

[chore] - check otp_auth login case statement #36

ErikFerrari opened this issue Nov 17, 2023 · 0 comments
Assignees

Comments

@ErikFerrari
Copy link
Member

ErikFerrari commented Nov 17, 2023

Check if using the following data the server return 400 instead of 500.
{"username":"foo@bar.it","password":"Somepassword","otp": null}

Other test:

  • valid email and password but null otp
  • valid email and password but invalid otp
  • invalid email but right password and null otp
  • invalid email but right password and valid otp
  • invalid email but right password and invalid otp
  • invalid password but right email and null otp
  • invalid password but right email and valid otp
  • invalid password but right email and invalid otp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants