All Collections
Sharetribe Go - Users
Signup & Login
Facebook error: “URL blocked: This redirect failed because...“
Facebook error: “URL blocked: This redirect failed because...“

Fix the Facebook login error “URL blocked: This redirect failed because the redirect URI is not white-listed in the app's client OAuth...“

Updated over a week ago

The following instructions only apply to Sharetribe marketplaces.
If you don't have a Sharetribe website, these instructions won't apply, and you should contact your own service provider.

When you set up Facebook Login or change it and have made a mistake in the setup, you will get an error message when signing in or login in with Facebook. Different error messages are depending on what the issue is.

In this article, we show you how to solve the error message “URL blocked: This redirect failed because the redirect URI is not whitelisted in the app's client OAuth settings. Make sure that the client and web OAuth logins are on and add all your app domains as valid OAuth redirect URIs.“ 

If you have not yet set it up, need the instructions, or wondering what Facebook Login is, you can find the information in this article.

What is causing the error?

The error message displays because a field in the Facebook Login app has invalid information.

The error message tells what the issue is: "URL blocked: This redirect failed because the redirect URI is not whitelisted in the app's client OAuth settings. Make sure that the client and web OAuth logins are on and add all your app domains as valid OAuth redirect URIs."

This is easily fixed. 

To start with, go to the right page:

  1. Log in

  2. Go to the app you created for your marketplace. Don't have one yet? Create one with the help of these instructions.

  3. Click on “Facebook Login”

  4. Click on “Settings”

The field you need to edit is “Valid OAuth redirect URIs”.

Fixing the error:

  1. In the "Valid OAuth redirect URIs" field, add your marketplace address followed by /people/auth/facebook/callback :

  2. - If you are on a Pro/Growth/Scale plan, it could be: https://www.example.com/people/auth/facebook/callback or https://something.example.com/people/auth/facebook/callback

  3.  - If you are on a trial, Starter or Hobby plan, it could be: https://example.sharetribe.com/people/auth/facebook/callback.

  4. Check that the section "Deauthorize / Deauthorize Callback URL" is empty.

  5. Click "Save Changes".

After you have done this, go to your marketplace and check if the Facebook login has started to work.

Still getting the error?

If it is still showing the same error and you have checked that it should be correct? Please contact our support, and we will help you out. When you do, we would appreciate that you:

  • Tell us the error message you receive

  • Take a screenshot of the page in your Facebook app so that we can take a look

How to set up Facebook login

In a Sharetribe marketplace, users can sign up and log in using their Facebook account. This works without a setup on trial but has to be none if you use your own domain. 

We provide the instructions for how to set up Facebook Login in a separate article if you have not done it already

Did this answer your question?