0.2.0 • Published 7 years ago

multicolour-hapi-jwt v0.2.0

Weekly downloads
1
License
MIT
Repository
github
Last release
7 years ago

multicolour-auth-jwt

JWT Auth plugin for HapiJS & Multicolour.

Get started by running multicolour plugin-add hapi-jwt

You'll need multicolour_users 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": "hello@newworld.codes","password":"password"}' -H "Accept:application/json"