[MODULE] HybridAuth

I wasn't even aware Yii had CSRF protection built in, I'll have a look.

This is by design because you won't neccesarily get those from the provider, so the user is given a chance to choose their username etc.

Here is what am getting http://www.sitename....er=Facebook#_=_
Look at the url this is after logging in with facebook then redirects to my site. Also it gives me a form to register and am already a registered user in my site.

I test-drove it (Facebook only) today. Here are my installation steps. As I am very new to Yii I had a bit of the struggle. Hope this helps somebody else as well.

1. Created a new facebook app
According to: hybridauth.sourceforge.net/userguide/IDProvider_info_Facebook.html). Important to set your Site url in Facebook exactly the same as in config file baseUrl parameter.

I know this is probably an easy question to answer, but I cannot figure out what I didn't do during the setup. It looks close to what you were discussing, but apparently you are able to get farther than I do.

I know this is probably an easy question to answer, but I cannot figure out what I didn't do during the setup. It looks close to what you were discussing, but apparently you are able to get farther than I do.

Great extension. My site already has a registration system with User table and UserProfile table so I changed it slightly to call a custom Registration page so you can implement your own registration. Might be worth including something like this in future releases?

Extract Register (createUser) from _doLogin into its own method with protected access. Also make _linkProvider protected

One other thing, if your server runs on unix the config is case sensitive! I had 'facebook'=> array() but the provider files called Facebook.php which threw an error. Had to change it to 'Facebook'=> array()

I am using your plugin to integrate several social logins on a project, including Facebook.

I am facing a problem that I can't trace anywhere and that is that even if I set display => popup for FB, it opens the facebook connect page normally instead of in a popup which results in the user leaving the website.

Add the path to DefaultController.php for the autoloader into the config file.
Maybe, there is a better solution with require.

I had already tried that - it didn't work. This turned out to be a problem with the sessions used in Hybridauth being overwritten by the sessions in Yii. The module doesn't seem to work at all with Yii sessions auto-starting. It works fine with sessions turned off.

I'm getting an error "include(DefaultController.php): failed to open stream: No such file or directory" and some weird characters get added to the url "#_=_". I'm testing this on localhost and using just facebook. I understand this has been reported by other members in the thread too, so has anyone found out the solution to this and what's causing this?

hey guys how much time do you think it takes to implement this extension only to provide facebook connect to my site? i need to estimate an amount of time for my project. i only have name email password country and date of birth in my login form. And im brand new (1 month) with yii

I'm getting an error "include(DefaultController.php): failed to open stream: No such file or directory" and some weird characters get added to the url "#_=_". I'm testing this on localhost and using just facebook. I understand this has been reported by other members in the thread too, so has anyone found out the solution to this and what's causing this?

Kindly follow the vincenze instructions, the default controller error will not occur. It is working fine for me with those instructions. Refer #92

hey guys how much time do you think it takes to implement this extension only to provide facebook connect to my site? i need to estimate an amount of time for my project. i only have name email password country and date of birth in my login form. And im brand new (1 month) with yii