nineinchnick / yii2-usr

Yii framework module for user authentication, password reset, registration and profile updating. A port of yii-usr to Yii Framework 2.0.
http://demo2.niix.pl
MIT License
39 stars 8 forks source link

Replacing Hybridauth with AuthClient #11

Closed nineinchnick closed 9 years ago

nineinchnick commented 10 years ago

Replace Hybridauth with AuthClient, a core framework extension.

schmunk42 commented 10 years ago

In general I'd strongly support using a composer dependecy here, because you may use eg. OAuth in various other places in your application.

nineinchnick commented 10 years ago

I treat both of them as libs implementing auth protocols. I already use composer dependency - suggest in this case, because features utilizing those libs are optional.

schmunk42 commented 10 years ago

Do you need a corresponding plugin class for Yii or something to use a new protocol?

nineinchnick commented 10 years ago

I just want to compare different solutions to pick the best one. I got little practical experience with Hybridauth or any other OAuth implementations.

schmunk42 commented 10 years ago

You mean this one right? https://github.com/yiisoft/yii2/tree/master/extensions/authclient Generally speaking, what "our" core team releases is almost always better then the rest out there and it will gain huge popularity.

Just my 2cents.