An open API service indexing awesome lists of open source software.

https://github.com/survi218/user-auth-passport

User authentication with JSON web tokens and the Passport module example
https://github.com/survi218/user-auth-passport

express-middleware expressjs jsonwebtoken mongodb mongoose nodejs nodejs-modules passport-js passport-local passport-local-mongoose restful-api user-authentication

Last synced: 7 months ago
JSON representation

User authentication with JSON web tokens and the Passport module example

Awesome Lists containing this project

README

          

# user-auth-passport
* Exploring user authentication with JSON web tokens and the Passport module.
- Use JSON web tokens for token-based user authentication
- Use Passport module together with passport-local and passport-local-mongoose for setting up local authentication within your server.

* Installing Passport and jsonwebtoken Node Modules
* Install the Passport related Node modules and the jsonwebtoken module as follows:
````
npm install passport passport-local passport-local-mongoose --save
npm install jsonwebtoken --save
````