From 8b2785ccb0cdb3ecec49880240be643f5b223859 Mon Sep 17 00:00:00 2001 From: giles Date: Mon, 2 Mar 2026 21:31:32 +0000 Subject: [PATCH] Skip OAuth registration for sx docs app MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit sx is a public documentation site like test — no auth needed. Co-Authored-By: Claude Opus 4.6 --- shared/infrastructure/factory.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shared/infrastructure/factory.py b/shared/infrastructure/factory.py index 895b2c1..dbf821b 100644 --- a/shared/infrastructure/factory.py +++ b/shared/infrastructure/factory.py @@ -145,8 +145,8 @@ def create_base_app( errors(app) # Auto-register OAuth client blueprint for non-account apps - # (account is the OAuth authorization server; test is a public dashboard) - _NO_OAUTH = {"account", "test"} + # (account is the OAuth authorization server; test/sx are public dashboards) + _NO_OAUTH = {"account", "test", "sx"} if name not in _NO_OAUTH: from shared.infrastructure.oauth import create_oauth_blueprint app.register_blueprint(create_oauth_blueprint(name))