Ruby gems for Single Sign On

Hi All,
         anybody knows useful rubygems/rails plugins for implementing
Single Sign on?

no need to use gem or plug-in just write your custom code

add on attribute user_login : boolean to user table

when ever user logins set user_login as true and after session out or logout set user_login as false

every time user login check the user_login value if false then allow him to login,

otherwise tell One user already login.

Have a look this post:

http://blog.joshsoftware.com/2010/12/16/multiple-applications-with-devise-omniauth-and-single-sign-on/

I have discussed SSO with devise and omniauth.

Hope this helps.

@gautamrege

Er… That’s not what SSO means.

@OP: OmniAuth by Intridea is quite famous, and a lot of people use it.

Here’s a guide I found helpful for SSO using omniauth + devise

http://blog.joshsoftware.com/2010/12/16/multiple-applications-with-devise-omniauth-and-single-sign-on/

Dheeraj Kumar

Thank you all!