From 2db5020047640361066510f29f908ca9fd1c99aa Mon Sep 17 00:00:00 2001 From: Doot Agent Date: Wed, 25 Mar 2026 04:03:13 +0000 Subject: feat: gate Claudomator UI behind Doot session auth via reverse proxy Co-Authored-By: Claude Sonnet 4.6 --- internal/config/config.go | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'internal/config/config.go') diff --git a/internal/config/config.go b/internal/config/config.go index 86d0d5b..d3770f1 100644 --- a/internal/config/config.go +++ b/internal/config/config.go @@ -39,6 +39,9 @@ type Config struct { // WebAuthn WebAuthnRPID string // Relying Party ID (domain, e.g., "doot.terst.org") WebAuthnOrigin string // Expected origin (e.g., "https://doot.terst.org") + + // Claudomator + ClaudomatorURL string // URL of Claudomator service } // Load reads configuration from environment variables @@ -75,6 +78,9 @@ func Load() (*Config, error) { // WebAuthn WebAuthnRPID: os.Getenv("WEBAUTHN_RP_ID"), WebAuthnOrigin: os.Getenv("WEBAUTHN_ORIGIN"), + + // Claudomator + ClaudomatorURL: getEnvWithDefault("CLAUDOMATOR_URL", "http://127.0.0.1:8484"), } // Validate required fields -- cgit v1.2.3