Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
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
Comment #2
dario995 CreditAttribution: dario995 commentedComment #3
masipila CreditAttribution: masipila as a volunteer commentedHi!
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
Comment #4
dario995 CreditAttribution: dario995 commentedThanks for fast answer.
Here is the screenshots from my fb app and settings in module.
https://www.dropbox.com/s/yktio6mqkq2amn4/fbapp.jpg?dl=0
https://www.dropbox.com/s/cxg115x720uws4f/fbapp2.jpg?dl=0
https://www.dropbox.com/s/ctb1ysghyww63t7/fbapp3.jpg?dl=0
https://www.dropbox.com/s/5dpc3zh877sbxgc/fbapp4.jpg?dl=0
Comment #5
dario995 CreditAttribution: dario995 commentedComment #6
masipila CreditAttribution: masipila as a volunteer commentedHi, 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
Comment #7
dario995 CreditAttribution: dario995 commentedThanks for answer.
I tried to change that setting but still no luck.
Comment #8
pmaguniaI was getting the same message.
When I enabled Clean Urls it started working.
Comment #9
masipila CreditAttribution: masipila as a volunteer commentedpmagunia, 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
Comment #10
masipila CreditAttribution: masipila as a volunteer commentedHi,
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