After Registering my application with Facebook for using Facebook OAuth Login with ASP.NET application i got error. when i am click on Facebook button in Development Environment.
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 sub-domains of your app to the App Domains field in your app settings.
Login Screen
Error Displayed
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 sub-domains of your app to the App Domains field in your app settings. Click Save Changes. And test social login with Facebook again.
the app domain is your domain name. Before you enter your domain, first click on Add Platform, select website, enter your site URL and mobile site url. Save the settings. Thereafter, you can enter the domain name in the App domains field.
In your Facebook app configuration, click on the Settings tab on the left-hand navigation menu. Then go to the Advanced tab at the top and scroll down to the Client OAuth Settings section.
If you are getting same Error means you have Enter Wrong URIs in "Valid OAuth redirect URIs" while Registering my application with Facebook.
e.g if you localhost URL is "http://localhost:8000/Account/Login" then while entering in "Valid OAuth redirect URIs" textbox enter "http://localhost:8000/signin-facebook" and click on Save Changes
Registering Facebook Application
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With