Passport-Facebook works in localhost but not in production (Heroku)

Hi guys! I’ve been stuck on this for a long time and have tried everything. 🙁 I’m starting the Voting App project and I’m using passport-facebook for authentication. Logging in and out works great in development but after deploying it Heroku, it stops working. The URL goes to /auth/facebook but it doesn’t not get redirected. I’m not sure what I did wrong… please help! There is also no error in the console so I’m not sure where to look for mistakes. I’ve also added the heroku domain to...

Jun 30, 2018 ... I'm starting the Voting App project and I'm using passport-facebook for authentication. Logging in and out works great in development but after ...

Lee mas