-
Notifications
You must be signed in to change notification settings - Fork 78
Description
Hi!
I am currently trying to configure rack-cas with a project, with single logout. I have followed the readme instructions, using the rack-cas-generated migration to update my db schema, and have edited my session store initializer to point to the RackCas ActiveRecord session store.
When logging in, rack-cas successfully intercepts the ticket validation request, and creates a session as intended. However, for some reason the cas_ticket data doesn't get saved to the session record, which means that on logout, I am unable to delete the session from the session store.
I can confirm from logs and local debugging that the request from my CAS server does send the TGT correctly, and that the store_session method from lib/cas.rb does receive that TGT and saves it to request.session
Any ideas about what might be preventing the session record to be created without the tgt filled?