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

[Backend] Implement REST API for login #15

Closed
Ashuto7h opened this issue Apr 12, 2021 · 0 comments · Fixed by #21
Closed

[Backend] Implement REST API for login #15

Ashuto7h opened this issue Apr 12, 2021 · 0 comments · Fixed by #21

Comments

@Ashuto7h
Copy link
Contributor

Ashuto7h commented Apr 12, 2021

Describe the Issue

implement the rest API for user login
the login mechanism is simple. it will take an email id

  • if mail id already exists in DB, the user will be verified via OTP on mail for login.
  • else a new user with that mail id will be created and verified via email for login

Suggest the solution

you have to implement two routes

  • /login for getting mail id
  • /auth for receiving and verifying OTP.
@Ashuto7h Ashuto7h assigned ghost Apr 12, 2021
@Ashuto7h Ashuto7h pinned this issue Apr 22, 2021
@Ashuto7h Ashuto7h unassigned ghost Apr 22, 2021
@Ashuto7h Ashuto7h unpinned this issue Apr 27, 2021
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

Successfully merging a pull request may close this issue.

1 participant