Skip to content
This repository was archived by the owner on Jan 13, 2022. It is now read-only.
This repository was archived by the owner on Jan 13, 2022. It is now read-only.

Can't Load URL: The domain of this URL isn't included in the app's domains. To be able to load this URL, add all domains and subdomains of your app to the App Domains field in your app settings. #1050

Closed
@iamkarthick

Description

@iamkarthick

We've had implement and working the social login 2 days back. But today have the issues

"Can't Load URL: The domain of this URL isn't included in the app's domains. To be able to load this URL, add all domains and subdomains of your app to the App Domains field in your app settings."

We've checked the app settings for Login, and all of our callback URLs are still there and correct.

These errors started today (2018-08-29 20:00 UTC).

Solutions:

After along research, the problem got fixed.

Please use the PHP SDK 5.6.2. And edit the following files in the FacebookRedirectLoginHelper.

Edit in PHP SDK
Find file: facebook\graph-sdk\src\Facebook\Helpers\FacebookRedirectLoginHelper.php

Find word
$redirectUrl = FacebookUrlManipulator::removeParamsFromUrl($redirectUrl, ['state','code']);
Change to
$redirectUrl = FacebookUrlManipulator::removeParamsFromUrl($redirectUrl, ['state','code','enforce_https']);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions