Skip to content

[v12] Error if users attempt to do tsh login --headless#30308

Merged
codingllama merged 1 commit intobranch/v12from
codingllama/backport/30298-v12
Aug 12, 2023
Merged

[v12] Error if users attempt to do tsh login --headless#30308
codingllama merged 1 commit intobranch/v12from
codingllama/backport/30298-v12

Conversation

@codingllama
Copy link
Copy Markdown
Contributor

@codingllama codingllama commented Aug 10, 2023

Backport #30298 to branch/v12.

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:03
@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/v12 with commit d458b67 Aug 12, 2023
@codingllama codingllama deleted the codingllama/backport/30298-v12 branch August 12, 2023 01:35
@camscale camscale mentioned this pull request Aug 22, 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