Yii Framework Forum: oAuth login extension for Yii? - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

oAuth login extension for Yii? Rate Topic: -----

#1 User is offline   morten 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 10
  • Joined: 23-November 11

Posted 20 February 2012 - 10:18 AM

Hi.

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....integration-php

Or would it be possible to use or port the one build for Fuel?

Thanks!
Morten
0

#2 User is offline   Dani Pardo 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 5
  • Joined: 17-February 12

Posted 20 February 2012 - 10:25 AM

I've used yii-eauth extension, which works pretty well.
1

#3 User is offline   morten 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 10
  • Joined: 23-November 11

Posted 23 February 2012 - 07:43 AM

Looks like a solution - Thanks! :)
0

#4 User is offline   morten 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 10
  • Joined: 23-November 11

Posted 23 February 2012 - 07:44 AM

http://www.yiiframew...xtension/eoauth
https://github.com/Nodge/yii-eauth/
0

#5 User is offline   pligor 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 101
  • Joined: 17-January 11
  • Location:Athens, Greece

Posted 07 March 2012 - 04:12 AM

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? :)
Thank you!
0

#6 User is offline   pligor 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 101
  • Joined: 17-January 11
  • Location:Athens, Greece

Posted 07 March 2012 - 05:09 AM

never mind I just forgot to edit accessRules inside the controller :P
0

#7 User is offline   morten 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 10
  • Joined: 23-November 11

Posted 07 March 2012 - 07:17 AM

Classic :)

I've integrated Facebook, Google and Twitter to extend a classic sign-up/login with a user DB setup.
0

#8 User is offline   Lothor 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 147
  • Joined: 05-August 11
  • Location:Brazil

Posted 26 October 2012 - 01:31 PM

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, ...?
0

#9 User is offline   Tomino 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 3
  • Joined: 03-December 12

Posted 19 December 2012 - 10:01 PM

View Postmorten, on 07 March 2012 - 07:17 AM, said:

Classic :)

I've integrated Facebook, Google and Twitter to extend a classic sign-up/login with a user DB setup.



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.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users