multicolour-hapi-jwt
v0.2.0
Published
JWT Auth plugin for HapiJS Multicolour
Downloads
3
Readme
multicolour-auth-jwt
JWT Auth plugin for HapiJS & Multicolour.
Get started by running multicolour plugin-add hapi-jwt
You'll need multicolour_user
s before you can authorise anyone to use your API.
Logging in
Posting to the /session
endpoint will create your session.
curl -X POST http://localhost:1811/session -d '{"email": "[email protected]","password":"password"}' -H "Accept:application/json"