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
- Host: GitHub
- URL: https://github.com/survi218/user-auth-passport
- Owner: survi218
- Created: 2017-06-07T17:59:53.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-06-07T19:39:58.000Z (over 8 years ago)
- Last Synced: 2025-03-05T21:57:40.298Z (7 months ago)
- Topics: express-middleware, expressjs, jsonwebtoken, mongodb, mongoose, nodejs, nodejs-modules, passport-js, passport-local, passport-local-mongoose, restful-api, user-authentication
- Language: JavaScript
- Homepage:
- Size: 3.88 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
````