Facebook登录:验证码验证错误 [英] Facebook Login : Error validating verification code

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

问题描述

从今天开始,我使用Facebook Login Api时一直出现以下错误.

As of today an application that i have keeps getting the following error while using Facebook Login Api.

验证验证码时出错.请确保您的redirect_uri与您在OAuth对话框中使用的相同 请求

Error validating verification code. Please make sure your redirect_uri is identical to the one you used in the OAuth dialog request

最后一次成功尝试是在昨天晚上2018-08-29 23:40:00,此后所有记录尝试最终都导致了redirect_url不匹配.

Last successfull attempt was yesterday night 2018-08-29 23:40:00 and since then all loging attempts end up to redirect_url mismatch.

我的回叫网址是

https://mysubdomain.mysite.gr/index.php?r = site/callbackfb

还尝试了替代方法

https://mysubdomain.mysite.gr/index.php/site/callbackfb

但仍然没有成功. 没有对应用程序进行任何更改,似乎也没有任何理由可以证明该异常.也尝试过使用最新的sdk librady,但我仍然遇到相同的错误.

but still no success. No change was made to the application and nothing seems to justify the exception. Tried also with latest sdk librady, but i still get the same error.

任何帮助将不胜感激.

推荐答案

Facebook似乎不足"破坏了自己的代码.通过启用https之前的版本,验证OAuth" URL不再验证.

Facebook seems to have "short of" break its own code. By enabling enfore https, the Validate OAuth url no longer validates.

我在重定向网址上添加了以下参数,以绕过此问题

I have added the following param on my redirect url to bypass the issue

https://mysubdomain.mysite.gr/index .php?r = site/callbackfb& enforce_https = 1

这篇关于Facebook登录:验证码验证错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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