cmd/tailscale/cli,feature: add support for identity federation (#17529)

Add new arguments to `tailscale up` so authkeys can be generated dynamically via identity federation.

Updates #9192

Signed-off-by: mcoulombe <max@tailscale.com>
This commit is contained in:
Max Coulombe
2025-10-17 18:05:32 -04:00
committed by GitHub
parent 54cee33bae
commit 6a73c0bdf5
14 changed files with 420 additions and 14 deletions
+3 -3
View File
@@ -137,14 +137,14 @@ func TestOmitCaptivePortal(t *testing.T) {
}.Check(t)
}
func TestOmitOAuthKey(t *testing.T) {
func TestOmitAuth(t *testing.T) {
deptest.DepChecker{
GOOS: "linux",
GOARCH: "amd64",
Tags: "ts_omit_oauthkey,ts_include_cli",
Tags: "ts_omit_oauthkey,ts_omit_identityfederation,ts_include_cli",
OnDep: func(dep string) {
if strings.HasPrefix(dep, "golang.org/x/oauth2") {
t.Errorf("unexpected dep with ts_omit_oauthkey: %q", dep)
t.Errorf("unexpected oauth2 dep: %q", dep)
}
},
}.Check(t)