简体   繁体   中英

Facebook login localhost oauth

Right now im working on a Meteor App demo wich let you connect with facebook, im doing it pretty basic and everything is seems to be working nice, but for some reason im having problem with the redirect url.

This is my setup.

BTW im following login-with-facebook-using-meteor-js

The app is on test mode, the localhost domain is added and the url is http://localhost:3000/ , but now, the problem beggins on the redirect url.

If i put http://localhost:3000/ redirect URL the app works fine and i get the user typing Meteor.user(); on the console.

BUT

if i put http://localhost:3000/_oauth/facebook?close i got the

error 191 invalid redirect url

I dont really know what is happening, im doing something wrong over here? i dont want to keep like this, because i do a little bit of research and having a wrong URL could be a security problem

尝试http://localhost:3000/_oauth/facebook?close=true可能正在进行一些url解析,我不认为没有任何值的close是有效的。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM