Coding⏱️ 2 min read📅 2026-05-31

How to Fix: Facebook login message: "URL Blocked: This redirect failed because the redirect URI is not whitelisted in the app’s Client OAuth Settings."

Facebook login issue due to unwhitelisted redirect URI.

Quick Answer: Check Client OAuth Settings and add the website's domain as a Valid Redirect URI.

The error message 'URL Blocked: This redirect failed because the redirect URI is not whitelisted in the app’s Client OAuth Settings' indicates that Facebook is unable to redirect the user back to your website after authentication. This issue can occur due to a mismatch between the registered domain and the client OAuth settings.

🛑 Root Causes of the Error

  • The registered domain is not added as a Valid OAuth Redirect URI in the client OAuth settings.

🚀 How to Resolve This Issue

Method 1: Update OAuth Settings

  1. Step 1: Log in to your Facebook Developer account and go to the 'App Settings' page.

Method 2: Register App Domains

  1. Step 1: Go to the 'Client Settings' page and click on 'Add Product Domain'.

💡 Conclusion

By following these steps, you should be able to resolve the 'URL Blocked' error and successfully authenticate users through Facebook OAuth.

Did this fix your problem?

If not, try searching for specific error codes.

🔍 Search Error Database

❓ Frequently Asked Questions