Passportjs Facebook login flow (passport-facebook vs passport-token)

后端 未结 2 1571
深忆病人
深忆病人 2021-01-30 23:57

Working with Node, Express, and Passport.

Okay, so my team and I are building a REST API for a dual-sided marketplace type application. We have already set up a basic Lo

2条回答
  •  不知归路
    2021-01-31 00:29

    The client side Facebook redirects are inconvenient when using native iOS and Android Facebook SDKs - as they sometimes redirect to the user installed Facebook app instead. Hence if you would like a really generic API then you should go with passport-facebook-token.

提交回复
热议问题