Facebook SSO: Can't Load URL: The domain of this URL isn't included in the app's domains.
-
Re: Facebook Social Authentication: Can't Load URL the solution was enabling Embedded Browser OAuth Login in Facebook Login Settings:
Open your app settings at Facebook Developers portal and make sure your app is Live (App Review > Make {app_name} public?) and Facebook Login is Enabled (enabled by default when creating your app - Products > Facebook Login > Client OAuth Login and Web OAuth Login, both should be set to Yes).
IMPORTANT: make sure Pages APIs is also Enabled, turn on Embedded Browser OAuth Login:
- Embedded Browser OAuth Login enabled (Products > Facebook Login > Embedded Browser OAuth Login Yes)
-
Thanks, the Facebook SSO plugin stopped working today But thanks to the post everything works again wiiiiii
-
@h7 Thanks, this helped, in my case with no need to make the app public. It's still "In Development", but working.
The settings at Facebook for Developers are like the following:
Settings > Basic
- Display Name: Example Community Login
- App Domains: example.com
- Contact Email: [email protected]
- Privacy Policy URL: https://example.com/privacy/
- Category: Some category
- Site URL: https://example.com/community/
Facebook Login > Settings
- [yes] Client OAuth Login
- [yes] Web OAuth Login
- [no] Force Web OAuth Reauthentication
- [yes] Use Strict Mode for Redirect URIs
- [yes] Enforce HTTPS
- [no] Embedded Browser OAuth Login
- Valid OAuth Redirect URIs: https://example.com/community/auth/facebook/callback
- [no] Login from Devices
Well, not sure if all this is needed, but after many tests it's working this way.
There is also the interesting video Facebook SSO for NodeBB - YouTube, which is helpful although not complete.