Hi! Glad you visited. This is a demo for OAuth with JSon Web Token using passport module of NPM.
- Clone or download zip for the repo.
- Run
'npm install'
using command line - To run the app,
'npm start'
-- Check for 'App is running' on console. - Check and hack users.js to add/remove users.
- Request to API with email and password in request body. Response will contain Authorization key if request is valid.
- Use Authorization key recieved in HTTP header for consequent requests.
- Try for a few more times. Gets boring hence.