0
votes

can someone please help me. I am getting the following error when trying to login with Facebook:

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 redirect URI is: http://127.0.0.1:8000/auth/complete/facebook

1
And did you specify it in the app settings …? - CBroe
Yes, I specified in the app settings. - Amit Verma
Do you get this when you call the login dialog, or afterwards in the next step, when your app makes the API call to exchange the code for a token? - CBroe
This only tells me that the app is still in dev mode … And how can you not be sure, either you get this shown while you are on facebook.com, when the login dialog is shown … or it shows afterwards, on your site. - CBroe
@CBroe can you please suggest me what's wrong I tried various redirect URIs and none of them seems to work. - Amit Verma

1 Answers

0
votes

you can change your URI from this: http://127.0.0.1:8000/auth/complete/facebook to this: http://127.0.0.1:8000/en/auth/complete/facebook

  • you can add for each tranlation you may add. (en, fr, etc)

Hope it helps.