简体   繁体   English

生产中使用yii2-authclient中的Facebook登录问题

[英]Issues in login with Facebook in yii2-authclient on production

I am using Yii 2.0.12 yii2-authclient 2.1.3 php 5.5 on production for web app 我在Web应用程序的生产中使用Yii 2.0.12 yii2-authclient 2.1.3 php 5.5

Followed the docs and made necessary changes in config file, controller file and view file. 按照文档进行操作,并对配置文件,控制器文件和视图文件进行了必要的更改。

Login with facebook is working fine on local machine But on production i am getting this error 用facebook登录在本地计算机上工作正常,但是在生产中我遇到此错误 在此处输入图片说明

Settings at https://developers.facebook.com/ are : https://developers.facebook.com/上的设置为:

Client Oauth YES 客户端Oauth

Web Oauth Login YES Web Oauth登录

Rest all NO 休息都没有

Why I am getting this error and what are the step to have successful login with facebook? 为什么我会收到此错误?成功登录Facebook的步骤是什么?

This is not an answer 这不是答案

Later I made contact with hosting service provider and they are blocking calls to facebook urls, got the reason, thanks. 后来我与托管服务提供商联系,他们阻止了对Facebook URL的呼叫,得到了原因,谢谢。

So there is no error in yii2-authclient extension nor there is problem from facebook side. 因此,yii2-authclient扩展中没有错误,也没有来自facebook方面的问题。

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

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