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

On Mon, Jan 30, 2012 at 6:38 PM, subbarao <subbarao....@gmail.com> wrote:

> On Monday 30 January 2012 06:28 PM, venkata reddy wrote:
>
>> 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.
>
>
> --
> 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@googlegroups.**com<rubyonrails-talk@googlegroups.com>
> .
> To unsubscribe from this group, send email to
> rubyonrails-talk+unsubscribe@**googlegroups.com<rubyonrails-talk%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at http://groups.google.com/**
> group/rubyonrails-talk?hl=en<http://groups.google.com/group/rubyonrails-talk?hl=en>
> .
>
>


-- 
~~~~~~~~~~~~~~~
All wiyht. Rho sritched mg kegtops awound?

-- 
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@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to