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

[v13] Error if users attempt to do tsh login --headless #30307

Merged
merged 1 commit into from Aug 12, 2023

Conversation

codingllama
Copy link
Contributor

Backport #30298 to branch/v13.

Instead of silently defaulting to local login, which can run into other errors
and potentially confuse the user (it did confuse us), we now error if the user
attempts to do tsh login --headless.

I've snuck in a fix for the "SSO login warning" logic, as it was showing for me
on a local cluster.

#28045

* Do not trigger SSO warning for local auth

* Escalate headless debug log to error

* Tweak error message

Co-authored-by: Zac Bergquist <zac.bergquist@goteleport.com>
@github-actions github-actions bot added backport size/sm tsh tsh - Teleport's command line tool for logging into nodes running Teleport. labels Aug 10, 2023
@github-actions github-actions bot requested review from Joerger and zmb3 August 10, 2023 21:00
@codingllama
Copy link
Contributor Author

I'm not sure exactly what the conflict was, I just took the PR lines without change.

@codingllama
Copy link
Contributor Author

Friendly ping @Joerger ?

@codingllama codingllama added this pull request to the merge queue Aug 12, 2023
Merged via the queue into branch/v13 with commit 8201831 Aug 12, 2023
22 checks passed
@codingllama codingllama deleted the codingllama/backport/30298-v13 branch August 12, 2023 01:33
@fheinecke fheinecke mentioned this pull request Sep 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport size/sm tsh tsh - Teleport's command line tool for logging into nodes running Teleport.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants