Conversation
…one identity exists
zmb3
reviewed
Oct 31, 2025
zmb3
reviewed
Oct 31, 2025
bernardjkim
approved these changes
Nov 4, 2025
Contributor
Author
|
Friendly ping @r0mant |
r0mant
reviewed
Nov 13, 2025
Collaborator
r0mant
left a comment
There was a problem hiding this comment.
Some suggestions that I think will make the PR a bit cleaner.
r0mant
approved these changes
Nov 14, 2025
kshi36
added a commit
that referenced
this pull request
Nov 15, 2025
…en only one identity exists (#60851) * Added support for `tsh logout --proxy` to work without `--user` when one identity exists * Fix lint * Refactor * Refactor * Refactor and update log messages
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #58495
changelog: Added support for
tsh logout --proxy(orTELEPORT_PROXYset) to work without--userflag when one identity existsManual Tests
Test: When proxy is specified with either
--proxyorTELEPORT_PROXYenv var set, and only one user identity exists for that proxy,tsh logoutlogs the user out. Identity is defined as user certificate present in the current session.--proxyis set,--useris not giventsh logoutlogs the user outtsh logoutspecifies the user to include--userflagTELEPORT_PROXYis set,--proxyis not given,--useris not giventsh logoutlogs the user outtsh logoutspecifies the user to include--userflag