Javascript Parse Facebook Login Issue

wildeyes picture wildeyes · Dec 9, 2015 · Viewed 32.4k times · Source

I am getting:

Given URL is not whitelisted in Client OAuth Settings: 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.

I have set the example.com/app in Site Url in FB settings. I have the right Parse appId, JSKey. I have put facebook auth details in parse, and parse confirmed it recognized them. I have, in fb, Client OAuth and web oauth enabled.

It requires me, Valid OAuth redirect URIs, so I have put

example.com, example.com/app, example.com/app/page.html.

Nothing fixes the error. I have tried every tweak and every combination. I tried adding and removing the app domain. Tweaking with the example.com/app app folder in Site URL. Maybe not include it.

Nothing helps, I'm stuck, what am I doing wrong? (I'm doing exactly the same on localhost btw, and it works)

Answer

Rich S picture Rich S · Aug 28, 2016

After the new Developer portal updates, the OAuth redirect URIs can now be found under

Products > Facebook Login > Settings > Client OAuth Settings

or you can access via url: https://developers.facebook.com/apps/{appid}/fb-login/