I am investigating http://drupal.org/project/hybridauth as my main login method.

If I use that, then do I need to use dff's fb_connect? If I were I'd assume that I would use the same app.

If I did not use dff's fb_connect but used hybridauth instead could I use the other functions like canvas pages, apps, and fb_stream provided by dff?

Thanks for such a great module!

A

Comments

MickC’s picture

I'd also like to know if there's any conflict - Hybridauth is great for enabling users to login using multiple social id's - not just fb - so the login block with all icons is good UX.

However DFF has more FB specific features such as invite friends.

Once authenticated by Hybridauth, would DFF features still work? Or are they solely dependent on FB Connect?

Dave Cohen’s picture

My goal is that modules/fb peacefully (and productively) coexist with other modules that do facebook-related things. That's one reason why modules/fb is broken up into many modules. Simply disable fb_user.module (or configure it not to create accounts automatically) and you *should* get the other module's behavior for handling accounts.

But it's easier said than done. Most facebook related module assume they are the only one enabled. Especially with facebook's javascript api, other modules usually initialize that in a way that blows away modules/fb settings. This can make modules incomatible in a way that modules/fb cannot control.

I don't know the specifics of that module. But if it causes issues, please report them here in the issue queue (or that module's queue).

sonicthoughts’s picture

Issue summary: View changes

http://drupal.org/project/hybridauth has a very strong following, is well written and has a nice architecture. There are MANY approaches out there - would be great if this module had some integration / compatibility (not dependency.) I'm testing and will report any progress.

Dave Cohen’s picture

Category: Bug report » Support request
Status: Active » Postponed (maintainer needs more info)

Please let us know whether it works.

BTW, You might want to try with modules/fb 4.x.

giorgio79’s picture

Version: 7.x-3.x-dev » 7.x-4.x-dev

I was just searching for hybridauth and fb compatibility. Glad I found this issue. It looks like Hybridauth is using oauth, so I am unsure if it is compatible with Drupal for FB. Perhaps some kind of importer / migrator script would be needed.

socialnicheguru’s picture

This is a related issue with some good insights.

In the mean time I am using, https://drupal.org/project/openid_selector, which uses dff to help login so keeps everything in order.

socialnicheguru’s picture

Status: Postponed (maintainer needs more info) » Active

I want users to be able to login and automatically have access created from the site.
Approach 1:
DFF handles login and app
This is easy but the downside is that I can't use hybridauth

Approach 2:
Use Hybridauth for login
DFF for everything else (canvas app, tab app, etc)
this is not tested:
Do I need to have an app for Hybridauth and a second for DFF app on my site?
If I do then if I login will the user automatically have access to the DFF app or is that another validation process?

sonicthoughts’s picture

FYI - I have to use both :( It's a bit ugly and would definitely prefer to build on DFF - this is a real solid app. HybridAuth has additional functionality though. Have to authenticate users twice though if want to use both for end-user authentication (as opposed to system authentication.) Any suggestions on how to integrate are welcome!

socialnicheguru’s picture

@sonicthoughts why did you use both. If you authenticate with hybridauth isn't that enough?

Could you use the fb app-id for hybridauth and diff Facebook connect?