From b34698b1071e0209cc6ef23771e06dff2c8837a4 Mon Sep 17 00:00:00 2001 From: Pizza <33816021+PizzaCow@users.noreply.github.com> Date: Wed, 1 Apr 2026 16:52:18 -0600 Subject: [PATCH] fix: replace Tailscale SSO with simple password auth --- .env.example | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/.env.example b/.env.example index 623576a..f8e1b02 100644 --- a/.env.example +++ b/.env.example @@ -1,13 +1,9 @@ -# Tailscale OAuth credentials -# Create at: https://login.tailscale.com/admin/settings/oauth -# Scopes needed: openid, profile, email -TAILSCALE_CLIENT_ID=your_client_id_here -TAILSCALE_CLIENT_SECRET=your_client_secret_here +# Password hash (sha256 of your chosen password) +# Generate with: python3 -c "import hashlib; print(hashlib.sha256(b'yourpassword').hexdigest())" +PASSWORD_HASH=your_sha256_hash_here -# Redirect URI -TAILSCALE_REDIRECT_URI=http://100.97.92.103:8080/auth/callback - -# Random secret key for session signing — generate with: python3 -c "import secrets; print(secrets.token_hex(32))" +# Random secret key for session signing +# Generate with: python3 -c "import secrets; print(secrets.token_hex(32))" SECRET_KEY=change_me_to_a_random_secret # Tailnet name (e.g. "example.com" or "user@gmail.com" — found in Tailscale admin)