-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Add support for SAML SLO in tsh
#43528
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What does "single logout" entail? Would this log the user out of all the IdP sessions, or just the tsh one?
@espadolini It will log them out of all their IdP sessions, this might not seem ideal but it's just the way SAML SLO works. There was discussion about this here in the original issue. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would really prefer if we had a way to keep track of whether or not the login was a SSO session to begin with and if it had a SLO url, since I'm really not looking forward to tsh logout
taking 5 seconds per profile, and I'd just start doing rm -r ~/.tsh
instead.
527791d
to
3ded2d8
Compare
6308361
to
75eadc5
Compare
Purpose
Part of #41076
This PR adds SAML SLO (single logout) functionality to
tsh
. When a user runstsh logout
, if they were logged in via a SAML auth connector with SLO configured, they will also be logged out of the identity provider.