Error login facebook

Asked

Viewed 15,150 times

5

When I try to log in facebook through my application, gives the error:

Blocked URL: Redirect failed because the Url used is not in the release list in the client’s Oauth settings application. Check if customer and web Oauth login is enabled and add all domains of your app as Urls valid Oauth redirect paths.

I did some research, and say that enabling the Client Oauth Login on Facebook Developers, the login was supposed to work. However, I did this and the error still persists.

How do I fix this ?

2 answers

7

This error occurs because the return URL is not registered on Facebook.

To do this, you must access your application and add the return URL. Here is a short tutorial on how to do this:

1: Go to your app page, for example:

https://developers.facebook.com/apps/APPID_AQUI/dashboard/

inserir a descrição da imagem aqui

2: Add the product Login.

inserir a descrição da imagem aqui

3: In Valid Oauth redirect uris, add the return URL of your application, that is, the URI that Facebook should call the user to log in.

inserir a descrição da imagem aqui

If you have a URI that is not valid, you must create a test application and replace the APPID and APPKEY from your application to the test application.

  • 1

    Thank you very much, that reply saved me haha!

0

Blocked URL: Redirect failed because the Url used is not in the release list in the client’s Oauth settings application. Check if customer and web Oauth login is enabled and add all domains of your app as Urls valid Oauth redirect paths.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.