Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Submodule to support Facebook OAuth module integration (http://drupal.org/project/fboauth).
To use, just unzip the files into your openid_selector module folder and activate from the module administration page.
Comment | File | Size | Author |
---|---|---|---|
openid_selector_fboauth.zip | 1.47 KB | abulte |
Comments
Comment #1
xurizaemonLooks good, thanks abulte.
Requires that the block from fboauth (title: "Facebook login") is displayed on screen to function. (That's a requirement of fboauth module but took me a minute to spot)
The JS code in line 16 uses
$('.facebook-action-connect').attr('href')
but doesn't test the result, which means if the fboauth block isn't rendered then you'll end up on a 404 for "/undefined"Committing this to my sandbox @ http://drupal.org/sandbox/grobot/1673156
Comment #2
andriy_gerasika CreditAttribution: andriy_gerasika commentedfixed for D6 in http://drupalcode.org/project/openid_selector.git/commit/feab917
Comment #3
andriy_gerasika CreditAttribution: andriy_gerasika commentedfixed for D7 in http://drupalcode.org/project/openid_selector.git/commit/9cf4022
Comment #5
udvranto CreditAttribution: udvranto commentedgrobot,
This is exactly what is happening in my case. I didn't want to load the block and getting the undefined error. Any way to fix it?
Comment #6
xurizaemonYou probably need the block rendered to get the JS it contains. Either render the block and hide it, or extract just enough of the JS it adds and theme that in.