Skip OAuth registration for sx docs app
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 4m0s
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 4m0s
sx is a public documentation site like test — no auth needed. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user