Hoauth - The New Kid In Block For Social Network Authorization

Hello Everyone,

I am not the author of the module, but rather a newbie is yii trying to get my web application which uses yii-user to integrate with some social-login mechanism. Unfortunately, I have tried yiiauth, hybridauth and both of them failed to achieve this.

I came across hoauth yesterday http://www.yiiframework.com/extension/hoauth which seems to be the one that is recommended on the hybridauth official website.

I am sorry to say that this one doesn’t work for me too.

I find it surprising that since social authentication is one of the first thing that most clients ask, why is there no robust solution upto now?

Or else, at least an official tutorial to merge these 3 behaviors:

  1. Yii-user

  2. Yii-rights

  3. Social Login with an entry into the user database.

Hope to hear some comments. Better yet, praying to see a solution.

Before I get flamed, I have tried every possible solution out there on these forums. None of them work :(. I have been at it for more than a week, and am almost thinking of writing everything from scratch. To hell with DRY!

Sorry for my frustration.

Cheers!

– J

Wish I had a solution for you…did you get any closure on this one? If you posted the specific problem, others might be able to help. I’ve noticed as well that there isn’t really a ‘recommended’ way of integrating social login or services. You’d figure by now Yii would have a standard, go-to solution, but alas, it does not.

I think you are right in saying yii-user, yii-auth and hoauth seems to be the path that is forming, but other than what is included on the extension pages, there is not much good info for going about implementing this combo.

In the future, I am planning on backing out of YUM and heading down the path indicated above, but ripping out all my custom reg/auth code is not something I’m looking forward to.

I agree, the documentation for hoauth is scattered around the yii extensions, forums and GIT. I found it difficult to follow, especially since I’ve never used yii-user or hoauth before. One of the instructions says to use yii-auth and the other says to use yii-user.

As yet another alternative, I found this link to install hybridauth (without the hoauth wrapper and no yii-user). http://yii.yiiwiki.com/wiki/459/integrating-hybridauth-directly-into-yii-without-an-extension/

OR

Use the official Yii hybridauth extension found here http://www.yiiframework.com/extension/hybridauth/

I just tried the hybridauth extension and it took about 5 minutes to fully setup. The instructions are clear and concise, as well there is the option to use yii-user.

Upvote this comment if it helped you.

Same here … I am also trying this but unable to implement it. Please give me solution

Could you people please describe what exactly you were trying to do with hoauth and what problems you encountered?

I could also suggest you my tutorial on the topic, hope it helps.