Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues with CAS ticket data persisting when creating session #90

Open
theryop opened this issue Jan 28, 2022 · 0 comments
Open

Issues with CAS ticket data persisting when creating session #90

theryop opened this issue Jan 28, 2022 · 0 comments

Comments

@theryop
Copy link

theryop commented Jan 28, 2022

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant