Hi All, anybody knows useful rubygems/rails plugins for implementing Single Sign on? -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
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.kly-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> > . > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe@**googlegroups.com<rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> > . > 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
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 On Monday 30 January 2012 at 6:38 PM, subbarao 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org (mailto:rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org). > To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com (mailto:rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org). > For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en. > >-- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Thank you all! On Jan 30, 6:33 pm, Dheeraj Kumar <a.dheeraj.ku...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> 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-de... > > Dheeraj Kumar > > On Monday 30 January 2012 at 6:38 PM, subbarao 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org (mailto:rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org). > > To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org (mailto:rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org). > > For more options, visit this group athttp://groups.google.com/group/rubyonrails-talk?hl=en.-- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.