rubycas-client authentification and local session

为君一笑 提交于 2019-12-08 07:26:48

问题


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


回答1:


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 :)



来源:https://stackoverflow.com/questions/21615670/rubycas-client-authentification-and-local-session

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!