Open Terribleangel opened 3 years ago
Hello, Passport facebook has started throwing a really funky error on redirect. I thought it was something to do with the versioning of the graph api but as shown from the url, I've run it with api v10.0 and the error is still persisting.
Does anyone know why this is happening? This is incredibly frustrating for me
in the authentication, write this code only
app.get("/auth/facebook",
passport.authenticate('facebook'));
Not something like this. by default profile will be displayed.
app.get("/auth/facebook",
passport.authenticate('facebook', {scope: ["profile"] }));
but if you need additional scope. for example email, you can write like this.
app.get("/auth/facebook", passport.authenticate('facebook', {scope: ["email"] }));
if you still have the same problem. pls let me know.
app.get("/auth/facebook", passport.authenticate('facebook', {scope: ["email"] }));
and what if I don't give access to my email from facebook? still got listed on facebook app list.
Hello, Passport facebook has started throwing a really funky error on redirect. I thought it was something to do with the versioning of the graph api but as shown from the url, I've run it with api v10.0 and the error is still persisting.![image](https://user-images.githubusercontent.com/16444958/110230159-06aff880-7edd-11eb-9ba1-b144b8af4f9f.png)
Does anyone know why this is happening? This is incredibly frustrating for me