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.


Leonardo M…
There’s no place like ~

omniauth + devise gems should do the trick.

On Fri, Sep 9, 2011 at 8:49 PM, Leonardo M.
[email protected]wrote:

  • several active_record_openid with different word combination in

Thanks a lot in advance.

Take a look at GitHub - omniauth/omniauth: OmniAuth is a flexible authentication system utilizing Rack middleware.

On Sat, Sep 10, 2011 at 1:14 AM, Martin W. [email protected]
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 M…
There’s no place like ~

On Sat, Sep 10, 2011 at 9:29 AM, Leonardo M.
[email protected]wrote:

On Sat, Sep 10, 2011 at 1:14 AM, Martin W. [email protected]
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.

On Fri, Sep 9, 2011 at 11:23 PM, Mike C. [email protected]
wrote:

Does anyone has any recommendation for this? This is a Rails 3.1
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 GitHub - omniauth/omniauth: OmniAuth is a flexible authentication system utilizing Rack middleware.

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


Leonardo M…
There’s no place like ~