简体   繁体   English

Laravel5.5通过Facebook使用社交名流无法加载URL

[英]Laravel5.5 using socialite login via Facebook Can't Load URL

I am using laravel5.5 with laravel/socialite. 我在使用laravel5.5和laravel / socialite。 Currently, I am developing my project on localhost:8000 目前,我正在localhost:8000上开发我的项目

I have setting everything in correct way, but when I try login via Facebook 我已经以正确的方式设置了所有内容,但是当我尝试通过Facebook登录时

I got this error message from Facebook: 我从Facebook收到此错误消息:

Can't Load URL: The domain of this URL isn't included in the app's domains. 无法加载URL:此URL的域未包含在应用程序的域中。 To be able to load this URL, add all domains and subdomains of your app to the App Domains field in your app settings. 为了能够加载此URL,请将应用程序的所有域和子域添加到应用程序设置的“应用程序域”字段中。

In facebook's app setting(Basic) I have setting 在facebook的应用设置(基本)中,我有设置

-->Domain APP 

localhost

-->Web Site

Site URL

http://localhost:8000

facebook's app setting Facebook的应用程序设置

If you can help me solve this problem I would be appreciated for your help 如果您能帮助我解决这个问题,我们将不胜感激

您需要在Facebook开发人员设置上设置域,并在“应用程序查看”部分中启用该网站。

Can you insert your domain in App > Facebook Login > Settings > Valid OAuth redirect URIs (input text)? 您可以在应用> Facebook登录>设置>有效的OAuth重定向URI(输入文本)中插入您的域吗? I occurred this problem when I forget to insert this field. 当我忘记插入该字段时,我发生了此问题。

在此处输入图片说明

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

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