Hi guys, I have to implement a login using a Google account | Twitter account | Windows Live account | Facebook account I''ve never done this before and I''ve been researching a bit about the available gems. Does anyone has any recommendation for this? This is a Rails 3.1 application. I''ve found: - openid - rails_openid - several active_record_openid with different word combination in their names but all implies an active record storage. I''m not sure if I''ll have to use a different gem for each account type or if I can make it work with only one. The main goal is to have a User model to be related with other resources in the application but not to force the user to create another username/password pair if (s)he prefers to use an already existent one. Any advice will be appreciated. Thanks a lot in advance. -- Leonardo Mateo. There''s no place like ~ -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On Fri, Sep 9, 2011 at 8:49 PM, Leonardo Mateo <leonardomateo-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>wrote:> Hi guys, > I have to implement a login using a Google account | Twitter account | > Windows Live account | Facebook account > I''ve never done this before and I''ve been researching a bit about the > available gems. > Does anyone has any recommendation for this? This is a Rails 3.1 > application. > I''ve found: > - openid > - rails_openid > - several active_record_openid with different word combination in > their names but all implies an active record storage. > > I''m not sure if I''ll have to use a different gem for each account type > or if I can make it work with only one. > The main goal is to have a User model to be related with other > resources in the application but not to force the user to create > another username/password pair if (s)he prefers to use an already > existent one. > > Any advice will be appreciated. > > Thanks a lot in advance. > > >Take a look at https://github.com/intridea/omniauth -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
omniauth + devise gems should do the trick. On Fri, Sep 9, 2011 at 5:49 PM, Leonardo Mateo <leonardomateo-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>wrote:> Hi guys, > I have to implement a login using a Google account | Twitter account | > Windows Live account | Facebook account > I''ve never done this before and I''ve been researching a bit about the > available gems. > Does anyone has any recommendation for this? This is a Rails 3.1 > application. > I''ve found: > - openid > - rails_openid > - several active_record_openid with different word combination in > their names but all implies an active record storage. > > I''m not sure if I''ll have to use a different gem for each account type > or if I can make it work with only one. > The main goal is to have a User model to be related with other > resources in the application but not to force the user to create > another username/password pair if (s)he prefers to use an already > existent one. > > Any advice will be appreciated. > > Thanks a lot in advance. > > -- > Leonardo Mateo. > There''s no place like ~ > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On Fri, Sep 9, 2011 at 11:23 PM, Mike Clark <mike-2ikrZbHD3Zx3UUSdVcNAOw@public.gmane.org> wrote:> > > On Fri, Sep 9, 2011 at 8:49 PM, Leonardo Mateo <leonardomateo-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> > wrote: >> >> Hi guys, >> I have to implement a login using a Google account | Twitter account | >> Windows Live account | Facebook account >> I''ve never done this before and I''ve been researching a bit about the >> available gems. >> Does anyone has any recommendation for this? This is a Rails 3.1 >> application. >> I''ve found: >> - openid >> - rails_openid >> - several active_record_openid with different word combination in >> their names but all implies an active record storage. >> >> I''m not sure if I''ll have to use a different gem for each account type >> or if I can make it work with only one. >> The main goal is to have a User model to be related with other >> resources in the application but not to force the user to create >> another username/password pair if (s)he prefers to use an already >> existent one. >> >> Any advice will be appreciated. >> >> Thanks a lot in advance. >> >> > > Take a look at https://github.com/intridea/omniauthThanks guys. Looks good. I''ll take a deeper look now. -- Leonardo Mateo. There''s no place like ~ -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On Sat, Sep 10, 2011 at 1:14 AM, Martin Wawrusch <martin-qs6+VQBngv1Wk0Htik3J/w@public.gmane.org> wrote:> omniauth + devise gems should do the trick.Is there some kind of dependency on devise? I would like to avoid devise for this project, I''m not a big fan of it, also I think it''s a bit too much for this. I liked omniauth, though Thanks a lot. -- Leonardo Mateo. There''s no place like ~ -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On Sat, Sep 10, 2011 at 9:29 AM, Leonardo Mateo <leonardomateo-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>wrote:> On Sat, Sep 10, 2011 at 1:14 AM, Martin Wawrusch <martin-qs6+VQBngv1Wk0Htik3J/w@public.gmane.org> > wrote: > > omniauth + devise gems should do the trick. > Is there some kind of dependency on devise? > I would like to avoid devise for this project, I''m not a big fan of > it, also I think it''s a bit too much for this. I liked omniauth, > though > >Omniauth gives you the authorization piece via oath to the various providers (Twitter, Facebook, etc), but it doesn''t provide for any user account management and tracking in your application. That is what Devise will do for you. There is no specific dependency between the two. Ypu''ll just need something to connect the authorization with a specific user account. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.