Yeah, if the goal is to get the best possible module we should all work together. Unless it’s prestige that counts.
I have a shitload of stuff currently and currently I cannot realise the ideas I have.
One thing I think would be great is a basic complete user handling, i left my controller/model there as reference but I think beside optimising the performance/ease the installation that would be the next step in features.
Imho it would be great if one could just add yiiauth to the skeleton app and get it working. and from there modify to your personal needs. After that I would love to see a guide for integrating it with Yum and yii-user since those two modules are widely used…
OK, this fragmentation/duplication of effort is counter-productive. I personally don’t like the implementation as a module, so was hoping to see a simple extension or component wrapping HybridAuth from markvr. Even using a custom controller to manage the routes, with HybridAuth as an extension would be better.
For now, I am using Yiiauth since I want a single user to be able to use multiple providers as Yiiauth allows, but markvr’s implementation does not.
Thanks for your efforts, both of you, but can we get some consolidation?
I wouldnt mind that, Jacmoe has offered to help when he has time. I needed hybridauth for one of my projects and did the best I could Yiiauth is on github and the more improvements the better.
But I dont know have the skills or time to do it myself currently.
Great module for openID authentication. I wondered if there is possible to make this module work with GoogleAPIs. I tried implementing googleapis extention, but got messed up on redirectUris. Maybe you know another great way to implement GoogleAPIs?
I am New to Yii Framework. i am not able to maintain session, after redirection from facebook, twitter. when, i already logged in with my form feilds. please help me. i am using Yiiauth(downloaded from github).
I am able to login using the Facebook and also am able to fetch the details from the facebook and store it to my DB .But i am not able to login using the other providers or get data from other providers. After adding other provider I cannot get data from facebook even. Desperatley need help on this.
I am using the my own code to store user data.
Also i want to know what is the difference between Yiiauth and Hybridauth extensions.
they are very similar, both implementing the hybridauth PHP library (http://hybridauth.sourceforge.net/)…hybridauth extension is more recent and combines yiiauth with some community requested features/implementation details
I wanted to capture more information from the Provider to store on my User table so I changed YiiAuth.php to call a method in my User model instead. In workOnUser
if ( !Yii::app()->user->isGuest ){
$social->yiiuser = Yii::app()->user->id;
$user = $userClass::model()->findByPk(Yii::app()->user->id);
// refresh the details, particularly as this is a new feature
$user->updateYiiAuth($user_profile, $provider);
}else{
// we want to create a new $userClass - CB moved this to base User model
$user = new $userclass;
$user->connectYiiAuth($user_profile, $provider);
$social->yiiuser = $user->id;
}
I wanted to capture more information from the Provider to store on my User table so I changed YiiAuth.php to call a method in my User model instead. In workOnUser
if ( !Yii::app()->user->isGuest ){
$social->yiiuser = Yii::app()->user->id;
$user = $userClass::model()->findByPk(Yii::app()->user->id);
// refresh the details, particularly as this is a new feature
$user->updateYiiAuth($user_profile, $provider);
}else{
// we want to create a new $userClass - CB moved this to base User model
$user = new $userclass;
$user->connectYiiAuth($user_profile, $provider);
$social->yiiuser = $user->id;
}
Hello togehter, for my Extension i need to get the module which is the user currently using.For example the user is in the project module and search for some projectsi need a funtion or object that has stored the project string. Is this possible? Thanks a lotRobin