Javascript解析Facebook登录问题 [英] Javascript Parse Facebook Login Issue

查看:141
本文介绍了Javascript解析Facebook登录问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在获得:


客户端OAuth设置中的URL未列入白名单:此重定向
失败,因为重定向URI在应用程序的客户端
OAuth设置中未列入白名单。确保客户端和Web OAuth登录已启用,并将
所有应用程序域添加为有效的OAuth重定向URI。

Given URL is not whitelisted in Client OAuth Settings: This redirect failed because the redirect URI is not whitelisted in the app’s Client OAuth Settings. Make sure Client and Web OAuth Login are on and add all your app domains as Valid OAuth Redirect URIs.

我有在FB设置中的Site Url中设置example.com/app。我有正确的解析appId,JSKey。我已经将facebook auth的详细信息解析出来,并且解析确认它确认了它们。我在fb中启用了客户端OAuth和Web oauth。

I have set the example.com/app in Site Url in FB settings. I have the right Parse appId, JSKey. I have put facebook auth details in parse, and parse confirmed it recognized them. I have, in fb, Client OAuth and web oauth enabled.

它需要我,有效的OAuth重定向URI,所以我把

It requires me, Valid OAuth redirect URIs, so I have put


example.com,example.com/app,example.com/app/page.html。

example.com, example.com/app, example.com/app/page.html.

没有什么可以修复错误。我已经尝试了每一个调整和每一个组合。我尝试添加和删除应用程序域。使用站点URL中的example.com/app应用程序文件夹进行调整。可能不包括它。

Nothing fixes the error. I have tried every tweak and every combination. I tried adding and removing the app domain. Tweaking with the example.com/app app folder in Site URL. Maybe not include it.

没有什么帮助,我被卡住了,我做错了什么? (我在localhost btw上做的完全一样,它可以工作)

Nothing helps, I'm stuck, what am I doing wrong? (I'm doing exactly the same on localhost btw, and it works)

推荐答案

在新的开发者门户更新后,OAuth现在可以在

After the new Developer portal updates, the OAuth redirect URIs can now be found under


产品> Facebook登录>设置>客户端OAuth设置

或者您可以通过url访问:
https://developers.facebook.com/apps/ {appid} / fb-login /

or you can access via url: https://developers.facebook.com/apps/{appid}/fb-login/

这篇关于Javascript解析Facebook登录问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆