Search code examples
ruby-on-railsruby-on-rails-3ruby-on-rails-4rubycasrubycas-client

rubycas-client authentification and local session


I am using ruby-cas client, for an authentification based on a CAS. I would like to link the ruby_cas authentication to my application :

when we log in with cas, in additon to the CAS session created, a session for my application is also created.

What should i do?

thanks


Solution

  • You could use devise and devise_cas_authenticatable

    This should work for Rails 3. I am trying to make it work with rails 4 but rubycas-client (needed for devise_cas_authenticatable) is giving me a lot of trouble. However I haven't surrendered yet :)