ruby-on-rails – Facebook应用程序 – 通过omniauth登录 – OAu
发布时间:2020-12-16 20:39:08 所属栏目:百科 来源:网络整理
导读:我面临着这个问题: "error": { "message": "Invalid redirect_uri: Given URL is not allowed by the Application configuration.","type": "OAuthException","code": 191 } 我在我的应用程序中设置了所需的密钥和令牌,在Facebook’s dev center我设置了站
我面临着这个问题:
"error": { "message": "Invalid redirect_uri: Given URL is not allowed by the Application configuration.","type": "OAuthException","code": 191 } 我在我的应用程序中设置了所需的密钥和令牌,在Facebook’s dev center我设置了站点URL:到http://127.0.0.1:3001,我收到上面的错误.另外我试图设置App命名空间:到http://127.0.0.1:3001,但我收到错误的地址格式错误… 使用localhost的fabebook应用程序的正确配置是什么? 解决方法
在FB应用程序中,您必须分配IP站点/应用程序域.
> Facebook将此网址与来自该请求的网址进行匹配. 让我知道如果不行. (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |