URL Blocked: This redirect failed because the redirect URI is not whitelisted in the app’s - facebook

Good morning everyone,
For a few days I have been failing to log in with facebook on my website made with WordPress.
The error message I get is the following:
"URL Blocked: This redirect failed because the redirect URI is not whitelisted in the app’s Client OAuth Settings. Make sure Client and Web OAuth Login are on and add all your app domains as Valid OAuth Redirect URIs."
I have tried creating a new Facebook login app and get exactly the same error window.
Can someone please try what is the problem?
encontinuo.com/login
I attach the screenshots with the error and the URI configuration that I have applied in the Facebook login app.
Thank you very much.
Facebook connect button
URIs error
URIs config

Related

Cannot test Facebook OAuth in development because 'Valid OAuth Redirect URIs' not allowing localhost

In Facebook Login Settings (in Valid OAuth Redirect URIs), when I attempt to add http://localhost:8000/survey, I get the following message,...,
http://localhost redirects are automatically allowed while in development mode only and do not need to be added here.
So, when I attempt to use http://localhost:8000/survey in my redirect_uri= parameter on my https://www.facebook.com/v7.0/dialog/oauth?client_id=... URL for FB login, I get this error message on the FB login page:
URL Blocked: This redirect failed because the redirect URI is not whitelisted in the app’s Client OAuth Settings. Make sure Client and Web OAuth Login are on and add all your app domains as Valid OAuth Redirect URIs.
Okay,... so I'm not allowed to whitelist http://localhost:8000/survey by adding it to Valid OAuth Redirect URIs -- where it says that http://localhost redirects are automatically allowed -- but then when I actually use a localhost URL, it is not whitelisted.
How is it possible test my app's FB login in a localhost/development environment? (I'm familiar with ngrok, but is there another way besides that?)
The first part you quoted mentions the app being set in Development Mode:
http://localhost redirects are automatically allowed while in development mode only and do not need to be added here.
You can toggle this from the top right corner of your App Dashboard on Facebook's site. More detailed instructions here: https://developers.facebook.com/docs/apps/managing-development-cycle/#step1
Another alternative that you have is using your hosts file to point a domain name to your localhost, if you can't set your app in development mode.

Login on AWS Cognito via Facebook problem

I have a problem with login via Facebook with AWS Cognito.
The login page is https://magazzinoperfetto.auth.eu-west-1.amazoncognito.com/login?client_id=7ii0p2ob77m2d1ashv9708e5b&scope=openid&redirect_uri=https://www.magazzinoperfetto.it&response_type=code&state=TWFnYXp6aW5vIFBlcmZldHRvIExvZ2lu
but when I click on Login via Facebook I receive this error: URL Blocked: This redirect failed because the redirect URI is not whitelisted in the app’s Client OAuth Settings.
As you can see https://imgur.com/a/mD9qrBq I have set the domain in whitelist but the problem persist.
Can you help me?

Facebook login flutter app error

I have encountered the following FB error:
Given URL is not allowed by the application configuration: One or more
of the given URL is not allowed by the App's settings. To use this URL
you must add a valid native platform in your App's settings.
Also Facebook OAuth redirect URI, does not accept http local host.
You may need to review the OAuth settings for your Facebook application
Also Facebook OAuth redirect URI, does not accept http local host
HTTPS is required for new Facebook integrations. You can get free certificates from Lets Encrypt or use self-signed certs and add them to your mobile device. It's a little more complicated, but it's really for the best :-)

Meteor accounts-facebook not working on server

I have followed the this tutorial (http://bulenttastan.net/login-with-facebook-using-meteor-js/) to setup Meteors accounts-facebook package. The application worked fine while working on the local environment(localhost).
Now that I have hosted the app on my server I have the following configuration on my Facebook Apps Dashboard.
But when I try to login from my application I receive the following error message:
"URL Blocked: This redirect failed because the redirect URI is not whitelisted in the app’s Client OAuth Settings. Make sure Client and Web OAuth Login are on and add all your app domains as Valid OAuth Redirect URIs."
My app is hosted on the port '3002' so, I have set the port along with the domain name on the Site URL section on facebook and with respect to the site URL I have also set the redirect URI as given on the image.
Thanks in Advance.
Found a Fix! Setting the ROOT_URL environment variable did the trick for me.

facebook and ssl page error

I am working on porting over an app to ssl for facebook. I set up an elastic Load balancer to proxy ssl to a tomcat server. when I visit the URL it works in the browser but when I go to facebook it gives the error
Error
Error while loading page from $APPNAME
The URL https://secure.domain.com/$APPNAME/ did not respond.
but https://secure.domain.com/$APPNAME/ works in my browser. Theres no error logging I assume for facebook. Is there like a general rules why it would fail like facebook doesn't like the cert or something?