简体   繁体   English

Facebook Single Sign-on(SSO)停止授权现有的iPhone应用程序

[英]Facebook Single Sign-on (SSO) stopped authorizing existing iPhone app

Our iPhone app (using iOS SDK 4.2) has been using single sign-on successfully since 5/23/2011. 自2011年5月23日起,我们的iPhone应用程序(使用iOS SDK 4.2)已成功使用单点登录。 Starting on 8/31/2011, when a user attempts to authorize the app for the 1st time. 从2011年8月31日开始,当用户第一次尝试授权该应用时。 The Facebook App will open as usual, then exit immediately before giving an option to authorize. Facebook应用程序将照常打开,然后在提供授权选项之前立即退出。 The Facebook app will then close and return to our app with the following error condition within the custom URL scheme: 然后Facebook应用程序将关闭并返回到我们的应用程序,并在自定义URL方案中出现以下错误情况:

{
type = 15, 
string = fb257001395154://authorize#error_reason=user%5Fdenied&error=access%5Fdenied&error_description=The%2Buser%2Bdenied%2Byour%2Brequest%2E%3F%5F,
encoding = 134217984, 
base = (null)
}

I tested again using the latest version of the Facebook iOS SDK and received the same result. 我使用最新版本的Facebook iOS SDK再次测试并收到了相同的结果。 Has anyone else seen this error? 有没有其他人看到这个错误? Did Facebook make a recent change that all App pages need to implement? Facebook最近是否需要实施所有应用页面的更改?

I ran into the same issue today, an existing app was no longer able to authenticate using Facebook, I was missing the iOS Bundle ID from the Facebook app settings page. 我今天遇到了同样的问题,现有的应用程序无法再通过Facebook进行身份验证,我在Facebook应用程序设置页面中错过了iOS Bundle ID。 Unfortunately adding the iOS Bundle ID only gave me a new error. 不幸的是,添加iOS Bundle ID只会给我一个新的错误。

To further complicate things, the app would work in the simulator but not on my device. 更复杂的是,应用程序可以在模拟器中运行,但不能在我的设备上运行。 It ended up being an issue with the Facebook app. 它最终成为Facebook应用程序的一个问题。 Updating the Facebook app resolved my problem although I'm not thrilled with the idea Facebook that login is spontaneously broken for users. 更新Facebook应用程序解决了我的问题,虽然我对Facebook的想法并不感到兴奋,因为用户自然会破坏登录。

Have you checked the Facebook dev site recently? 你最近检查过Facebook开发网站了吗? They unified their app secret with their app ID maybe some modifications are required to your code 他们将应用程序ID与应用程序ID统一起来,可能需要对代码进行一些修改

This duplicates my question here . 复制了我的问题 There's a change in the Facebook's iOS app at version 3.4.4. Facebook版本为3.4.4的iOS应用程序发生了变化。 I had this same problem, but when I examined my iOS Bundle ID at http://developers.facebook.com/apps (click on Edit Settings for your app), I found an uppercase/lowercase mismatch in one letter of the ID. 我有同样的问题,但是当我在http://developers.facebook.com/apps上检查我的iOS Bundle ID时(点击你的应用程序的编辑设置),我发现ID的一个字母中有一个大写/小写不匹配。 After changing it to match 100%, the failure went away. 将其更改为100%后,故障就消失了。 This still feels like a Facebook bug to me because it behaves differently depending on which version of the Facebook app is installed (or whether that app isn't installed at all). 这对我来说仍然感觉像是一个Facebook错误,因为它的行为会有所不同,具体取决于安装的Facebook应用程序版本(或者根本不安装该应用程序)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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