Skip to content

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

Merged
codingllama merged 1 commit intobranch/v13from
codingllama/backport/30298-v13
Aug 12, 2023
Merged

[v13] Error if users attempt to do tsh login --headless#30307
codingllama merged 1 commit intobranch/v13from
codingllama/backport/30298-v13

Conversation

@codingllama
Copy link
Copy Markdown
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
Copy Markdown
Contributor Author

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

@codingllama codingllama enabled auto-merge August 10, 2023 21:37
@codingllama
Copy link
Copy Markdown
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
@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.

3 participants