How to use PassportJS with HapiJS

2019-06-18 01:13发布

问题:

I'm having a hard time to decide the best way to use PassportJS with HapiJS. Have anyone done that? I'm not talking about Travelogue because I kinda didn't like the way it works. Maybe I'm not using it right.

回答1:

Travelogue has recently been "retired". Check out the replacement module bell. bell is much more "hapi-like" because it doesn't try to use passport.js