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

[Feature] Log in system with JWT/Session #97

Open
rajatkb opened this issue May 7, 2020 · 0 comments
Open

[Feature] Log in system with JWT/Session #97

rajatkb opened this issue May 7, 2020 · 0 comments
Labels
enhancement New feature or request gssoc20 GSSOC label for gscco20 tag hard GSSOC label for beginner tag

Comments

@rajatkb
Copy link
Owner

rajatkb commented May 7, 2020

The system currently needs a login system, which would allow users to register and curate a feed through email or through the frontend application according to themselves. Including setting up reminders of their choice,

Describe the solution you'd like
Use Passport or custom implemented solution (Should be properly scrutinised for its security), for enabling user login and creating user identity when creating routes.

Additional context

  • Starting with creating a Mongo Schema for a user along with a model to interact with it (look in Model folder)
  • Implement a service that can act as the auth service.
  • Implement middleware or use passport to inject user session data or validate user using jwt.
    NOTE : While hashing password make sure to take note of crypto package's synchronous nature. Do explore crypto-async once to see if it's a good fit for usage.
@rajatkb rajatkb added hard GSSOC label for beginner tag gssoc20 GSSOC label for gscco20 tag labels May 7, 2020
@rajatkb rajatkb added the enhancement New feature or request label May 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request gssoc20 GSSOC label for gscco20 tag hard GSSOC label for beginner tag
Projects
None yet
Development

No branches or pull requests

1 participant