OpenID advice

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

omniauth + devise gems should do the trick.

Thanks guys. Looks good. I'll take a deeper look now.

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.

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.