Hi,

followed the installation and configuration instructions, but similar to Simple FB connect module I receive a 'Facebook login failed' error when trying to login using the social_auth_facebook implementer.

See https://www.drupal.org/node/2839766 for details.

Any idea?

Thanks,

Comments

Anonymous’s picture

zptoth created an issue. See original summary.

Anonymous’s picture

gvso’s picture

Status: Active » Postponed (maintainer needs more info)

Let's wait for the issue in Simple FB Connect

Anonymous’s picture

I'm planning to use this module with the whole Social API bundle but wanted to resolve the Facebook Auth issue so returned to the parent module from which this one has been forked.

gvso’s picture

I will try to create a sandbox project for Social Auth Facebook and update the last commits on Simple FB Connect tomorrow. Social Auth Facebook is based on Simple FB Connect, and we agreed with the maintainer to make the latter deprecated once Social Auth Facebook is mature enough.

I will check your issue after the updates

Anonymous’s picture

Update:
Created a new FB App for testing, didn't help.
Upgraded to dev version of the module, didn't help either.
Discussing details with Pantheon, Facebook Team and Simple FB connect maintainers.

gvso’s picture

Project: Social Auth » Social Auth Facebook
Version: 8.x-1.0-beta1 »

I have just created this sandbox project which will be exclusively used for Social Auth Facebook. Any changes done in Simple FB Connect will be also done in this project.

Anonymous’s picture

Based on Facebook Team's recommendation Markus seems to have found and solved the issue referenced.
Please follow up from this comment: https://www.drupal.org/node/2839766#comment-11853662

gvso’s picture

Status: Postponed (maintainer needs more info) » Active

Cool! I will commit the changes this weekend

Anonymous’s picture

Thanks,
I'm really excited to install the updated module.

  • gvso committed 7b35f57 on 8.x-1.x
    Issue #2839770 by masipila, zptoth: Facebook login fails in Pantheon
    
gvso’s picture

Status: Active » Fixed
Anonymous’s picture

Confirmed, works.

I like the idea of displaying recommended Valid OAuth redirect URIs, App Domains, and Site URL values on the config page.

Current setup instructions could be a bit misleading for inexperienced users.

'Installation instructions for Drupal 8 can be found at
https://www.drupal.org/node/2642974 '
<-- this redirects us to Simple FB Connect's installation instructions and one should adopt instructions written there instead of following them blindly.

Thanks for the update, great work!

gvso’s picture

I plan to write documentation this week. Meanwhile, this one might also be useful. Since I don't still have permission to create full projects, the method to download the module described in Simple FB Connect won't work.

Thanks for testing the module! Let me know if you find any issues

Anonymous’s picture

The module works great so far.

One thing came to my mind. Do you think a 'deauthorize' feature would be useful? Now this could be done in Facebook only under Settings / Apps / ...
Might not the best example, but somehow like this: https://www.drupal.org/files/project-images/hybridauth_identities_0.png
Eg by indicating with an icon on user profiles what social network(s) have been authorized and offering an option to revoke authorization by a single click on the authorized social network's icon.

Thanks,

gvso’s picture

Without doing any research yet (I can't right now), I would say it should be very easy to implement something like this. I guess the module will only need to connect to Facebook/Gooogle/etc. and remove the app from the user's authorized apps.

Status: Fixed » Closed (fixed)

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

ferrete’s picture

Version: » 8.x-2.0
Category: Support request » Bug report

Hello guys, I'm facing the same issue.

I'm getting this error:

There was an error during authentication. Exception: OAuthException: URL kann nicht geladen werden: Die Domain dieser URL ist nicht in den Domains der App vorhanden. Um diese URL laden zu können, füge alle Domains und Subdomains deiner App im Appdomain-Feld in deinen App-Einstellungen hinzu.

I believe the problem is related to OAuth redirect URIs created. Using facebook version 6.0 of Graph API we are forcing to use https connection. I have set https also but the generated URI is coming with http. Don't know if the problem is related to that....

App ID and App Secret are ok..

Any help?

For those who face the same issue
https://www.drupal.org/files/issues/2019-07-03/fb-ssl-reverseproxy-30656...

ph7’s picture

The patch in #18 worked for me! Hope it will be available in the module soon!

Facebook Graph API version 9.0
Module version 8.x-3.0.0-rc2