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

Setup JWT token based authentication #2

Open
narainsagar opened this issue Oct 23, 2017 · 0 comments
Open

Setup JWT token based authentication #2

narainsagar opened this issue Oct 23, 2017 · 0 comments

Comments

@narainsagar
Copy link
Collaborator

narainsagar commented Oct 23, 2017

Can we keep the jwt code in some separate place / directory so if one want to use or write it's own authentication module can simply remove that directory and from package configs?

  • A new user model to be created with some info like name, email, password, etc.
  • Create & setup it's all basic routes like GET, POST, PUT, etc.
  • Setup jwt and proper middleware functions i.e., validateToken etc.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant