Hello,
I followed installation steps from https://www.drupal.org/docs/7/modules/simple-fb-connect/installation-ins.... When i click facebook login link I get this error:

URL blocked: This redirect failed because the redirect URI is not white-listed 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.

Does someone has any idea one could it be? Current fb api version is v2.10.
Thank you.

Comments

dario995 created an issue. See original summary.

dario995’s picture

Issue tags: -url blocked white-listed client OAuth settings +url blocked white-listed client OAuth settings facebook login
masipila’s picture

Category: Bug report » Support request
Priority: Critical » Normal
Status: Active » Fixed
Issue tags: -url blocked white-listed client OAuth settings facebook login

Hi!

Please triple check that you have copy-pasted the correct URL to your Facebook app settings.

If you still need further support, please don't hesitate to re-open this issue and provide screenshots from a) your module settings and b) your Facebook app settings. (Blur your app secret so that it will not be visible).

Cheers,
Markus

P.s. I changed this from bug report to support request. Also see Drupal issue severity definitions at https://www.drupal.org/core/issue-priority

dario995’s picture

dario995’s picture

Status: Fixed » Active
masipila’s picture

Hi, thanks for the screenshots! It seems that thdre's a new setting on the Facebook app settings called 'Use Strict Mode for Redirect URIs'. Does the issue still appear if you change that setting on Facebook app settings?

Markus

dario995’s picture

Thanks for answer.

I tried to change that setting but still no luck.

pmagunia’s picture

I was getting the same message.

When I enabled Clean Urls it started working.

masipila’s picture

pmagunia, many thanks for sharing your findings on this!

I'll keep this issue open for now and try to reproduce this at some point. It might well be that Clean Urls is a pre-requisite for using SimpleFbConnect. If this turns out to be the case, I'll add that to the installation instructions.

Markus

masipila’s picture

Status: Active » Fixed

Hi,

this was indeed a Clean URLs issue. This module also works without Clean URLs but then the Valid OAuth Redirect URL must be entered correctly in Facebook App Settings.

Installation instrcutions have been updated, see https://www.drupal.org/docs/7/modules/simple-fb-connect-7x/installation-...

Cheers,
Markus

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.