senecajs / seneca-auth

A Seneca user authentication plugin for Hapi and Express
http://senecajs.org
MIT License
33 stars 29 forks source link

Example updation and explanation #82

Closed kevin-madhu closed 8 years ago

kevin-madhu commented 8 years ago

Can someone please update the example https://github.com/senecajs/seneca-auth#example-of-using-seneca-auth-with-hapi?

I made that version of the example working, with some help from friends at gitter, but could'nt figure out what the code does. I tried adding a route for /api endpoint but that doesn't seem to be protected.

kevin-madhu commented 8 years ago

Got it!