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

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

问题描述

我得到:

给定 URL 未在客户端 OAuth 设置中列入白名单:此重定向失败,因为重定向 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.我有正确的 Parse 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 上做的完全一样,并且有效)

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

推荐答案

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

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

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

或者您可以通过网址访问: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天全站免登陆