Can't connect from localhost.

I am testing a website from my laptop using a subdomain on localhost like www.somedomain.local. When I try to sign in to my wordpress site using facebook, I get the following error.

Given URL is not allowed by the Application configuration: One or more of the given URLs is not allowed by the App's settings. It must match the Website URL or Canvas URL, or the domain must be a subdomain of one of the App's domains.

How do I fix this?

Thank you in advance.

Answers

  • Hi,
    Check your Facebook app configuration: make sure you have http(or https)://(your-domain).api.oneall.com/ in Basic > Website URL, and Advanced > Client OAuth Settings > Valid OAuth redirect URIs.

    Regards.
Sign In or Register to comment.