Is there an extension (or example code) supporting different social media (oAuth) logins build for Yii? I can find examples for specific logins but not one that supports multiple like Facebook, Twitter and Google.
Like this one for Fuel: http://philsturgeon.co.uk/blog/2011/09/ninjauth-social-integration-php
Or would it be possible to use or port the one build for Fuel?
I’ve used yii-eauth extension, which works pretty well.
Looks like a solution - Thanks!
I see you have used yii-eauth.
I am trying to make it work to my own project.
Main problem is when I click on any of the icons (from the widget) I get redirected back to my login page.
I do not understand what is going on…
I see clearly that the link will send me to "eauth" action (it is just how I named it) and I have not placed any code inside the action yet…
Something is happening before the action is executed which forces it to be redirected back to the login page.
I suppose I am missing something in the workflow
Could you help?
never mind I just forgot to edit accessRules inside the controller
I’ve integrated Facebook, Google and Twitter to extend a classic sign-up/login with a user DB setup.
I need work with OAuth in my job.
The extension yii-eauth allows me to have the own authentication system, or just connect with external APIs as Google, Facebook, Twitter, …?
Would you mind to share your solution? What I need for my project is basically get email address from oauth so i can create user in db with that.