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

CAS SSO using CASTGC #79

Open
KenWhitesell opened this issue Sep 20, 2021 · 0 comments
Open

CAS SSO using CASTGC #79

KenWhitesell opened this issue Sep 20, 2021 · 0 comments

Comments

@KenWhitesell
Copy link
Contributor

I have recently implemented a custom LoginView (descending from CAS's LoginView) that supports the use of the TGT / CASTGC method of supporting SSO across different sites.

It works by overriding the get, post, and init_form methods of the original class, along with implementing new valid_tgt, process_tgt, gen_tgt and set_cookie methods. There's also a new TgtUser model created to store the currently-active TGT for an authenticated user.

Do you have any interest in possibly adding these to the project? I'd be happy to clean them up and submit them as a PR. There are a couple items that I would like to discuss before doing this regarding what elements should be made configurable through settings in the settings file.

I also have a couple of test Django projects built that can be run to demonstrate that it works as intended.

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