Monday 8 February 2016

hapi & hapi-auth-cookie confusion

Hi there!I have an auth strategy set up using hapi 13.x.x and hapi-auth-cookie 3.1.x, but no matter what modes I try (besides false), none of the route-level auth configs seem to matter. For instance, if I make the strategy required, I can't doconfig: {auth: {mode: "try"}} in the route to disable it. (The docs say false is an acceptable value, but it actually isn't.)Anyone have insight or a working example?

Submitted February 09, 2016 at 12:42AM by swords-to-plowshares

No comments:

Post a Comment