From 2f0e6af0fa9e72da75f978278c22aa7914d71cc2 Mon Sep 17 00:00:00 2001 From: Michael <30936296+mtan93@users.noreply.github.com> Date: Tue, 5 Aug 2025 16:49:37 +0100 Subject: [PATCH] Update silent-oauth-testing-v1.sh --- Mac/silent-oauth-testing-v1.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Mac/silent-oauth-testing-v1.sh b/Mac/silent-oauth-testing-v1.sh index d239d35..e616229 100644 --- a/Mac/silent-oauth-testing-v1.sh +++ b/Mac/silent-oauth-testing-v1.sh @@ -208,9 +208,8 @@ else sleep 1 curl -s https://raw.githubusercontent.com/PurpleComputing/Tailscale-scripts/main/Mac/logout-all.sh | bash runAsUser defaults delete com.tailscale.ipn.macsys AuthKey && killall cfprefsd - runAsUser /Applications/Tailscale.app/Contents/MacOS/Tailscale up --authkey "$TAILSCALEAUTHKEY" --hostname "$TSUSER" --advertise-tags=tag:$TSTAG --reset + runAsUser /Applications/Tailscale.app/Contents/MacOS/Tailscale up --authkey "$TAILSCALEAUTHKEY?ephemeral=false&preauthorized=true" --hostname "$TSUSER" --advertise-tags=tag:$TSTAG --reset sleep 1 - #runAsUser /Applications/Tailscale.app/Contents/MacOS/Tailscale up --authkey "$TAILSCALEAUTHKEY" --hostname "$TSUSER" --advertise-tags=tag:$TSTAG --reset runAsUser /Applications/Tailscale.app/Contents/MacOS/Tailscale set --hostname "$TSUSER" echo fi