A 'password' grant type based oauth2 authentication server.
npm install
.npm start
. (ornpm run pm2-start
).
curl -XPOST -d 'username=admin&password=admin&grant_type=password&client_id=trackr&client_secret=admin' http://localhost:3000/oauth2/token
- handle redis and mongodb connect before server start.