OAuth2 Server to generate Tokens, authorise and authenticate
First Run
npm push, this will push the required credentials in seed.js to the mongodb
Then,
do, npm start
Using Postman:
Use Header:
Content-Type: application/x-www-form-urlencoded
Use Body:
username: monkey@monkey.com
password: test
client_id: papers3
client_secret: 123
grant_type: password