From ea35e040e769d3f3b876c9ff6efd52aaee15e677 Mon Sep 17 00:00:00 2001 From: giles Date: Mon, 23 Feb 2026 10:25:46 +0000 Subject: [PATCH] Fix OAuth authorize URL: include /auth prefix The federation auth blueprint is mounted at /auth, so the authorize endpoint is /auth/oauth/authorize, not /oauth/authorize. Co-Authored-By: Claude Opus 4.6 --- infrastructure/oauth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infrastructure/oauth.py b/infrastructure/oauth.py index 59eee38..56062ce 100644 --- a/infrastructure/oauth.py +++ b/infrastructure/oauth.py @@ -42,7 +42,7 @@ def create_oauth_blueprint(app_name: str) -> Blueprint: redirect_uri = app_url(app_name, "/auth/callback") authorize_url = federation_url( - f"/oauth/authorize?client_id={app_name}" + f"/auth/oauth/authorize?client_id={app_name}" f"&redirect_uri={redirect_uri}" f"&state={state}" )