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}" )