is this a solution?
SOLVED Facebook Social Authentication: Can't Load URL
-
Facebook auth gives the error:
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.
Tried everything, with several apps, App Domains is set to community.h7.org and h7.org (both included) still no luck with FB. Did anyone have this issue before, any solution? Thanks!
-
What the url in the address bar when that error occurs?
What is the
url
value in yourconfig.json
? -
@julian the URL in address bar is `http://community.h7.org/auth/facebook/callback/...
https://www.facebook.com/dialog/oauth?response_type=code&redirect_uri=http%3A%2F%2Fcommunity.h7.org%2Fauth%2Ffacebook%2Fcallback&scope=email%2C%20user_friends&client_id=1735736033177665
and here is the relevant part of
config.json
:{ "url": "http://community.h7.org", "port": 4567, ... }
*tried with HTTPS as well, same result
-
Honestly I don't know then -- it all seems to be set up correctly. Facebook is sometimes really weird with how it needs things configured.
I just wish there was someone you could reach out to on Facebook
App ID and secret set in SSO plugin?
-
@julian yes, all seems good. I had the same issue before with a Flash (AIR), an Android app and a React-based web-app, always the same problem and yet I forgot. I’ll figure it out and post the solution here (hopefully). Thanks anyway!
-
@julian the solution was enabling Embedded Browser OAuth Login in Facebook Login Settings
-