Can not get to work facebook login

Anyone has an idea how to fix login with facebook problem? It works on development version, but can’t get to work on live version. I get 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.
Tried so many different things. Thank you.

Under the main settings (not under "Facebook Login) > Basic, there is a spot for App Domains. Have you added your custom domain to that?

And under App Review, have you set it to Live?

Thank you for your reply.
My app is set to Live mode. Also I have added custom domain in the main settings section.

Maybe it is something to do with other settings?


Funny part is that my bubble apps development version facebook login starts/stops working when I add/remove to valid OAuth redirect URIs. I was trying to add different kind of endings for ex., to make my live version get going with FB login. It didn’t worked.

Solved the issue by changing https://MyDomain to http://MyDomain

1 Like

i am having same problem. I tried the all the solutions above, but nothing worked. Am i write the login function wrong?

does it work in your development version?

1 Like

nope. i am still looking for the missing piece of code.

Hi, old topic, but thought I’d share my problem and solution. I had the same error message as the original poster. Here’s how I’ve solved it:

In Bubble, under plug-ins, make sure to copy the generic redirect URI

Use this URL as your Valid OAuth Redirect URIs in Facebook.

Then it works. :balloon:

Hello, thanks.
Do you mean that we need to use the EXACT Url you wrote?

My problem is strange because my login works ONLY from the starting page and NOT if the login with facebook is launched from another page.