Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

OAuth in Rails - google, twitter, facebook, connect for login like stackoverflow login

Rails has the rest autho plugin which works well but is there a solution for incorporating twitter, facebook, google, yahoo, etc...

Seems like each on has its own plugin and demands and mixing them is going to be a mess.

This is for logging in users like how Stackoverflow gets things done not for using the robust features of the APIs.

What I want to do is do what stackoverflow did for login but in rails.

like image 386
thenengah Avatar asked Apr 02 '10 10:04

thenengah


1 Answers

I would definitely vote for OmniAuth :

https://github.com/intridea/omniauth

Here are some resources to get You started :

http://blog.railsrumble.com/blog/2010/10/08/intridea-omniauth

http://railscasts.com/episodes/235-omniauth-part-1

http://railscasts.com/episodes/236-omniauth-part-2

like image 129
kares Avatar answered Oct 02 '22 13:10

kares