From b421e85558b7244ffba881baa4d5e1f45689b041 Mon Sep 17 00:00:00 2001 From: Roger Joys Date: Sun, 15 Mar 2026 17:17:27 -0700 Subject: [PATCH] Fixed runtime error --- app/auth.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/auth.py b/app/auth.py index 7f3c529..48ed955 100644 --- a/app/auth.py +++ b/app/auth.py @@ -16,9 +16,9 @@ def get_authorization_url(config: AppConfig, state: str) -> str: "state": state, } query = "&".join(f"{k}={v}" for k, v in params.items()) + url = f"{config.authentik_host}/application/o/authorize/?{query}" logger.info("Authorization URL: %s", url) - return f"{config.authentik_host}/application/o/authorize/?{query}" - + return url async def exchange_code_for_token(config: AppConfig, code: str) -> dict: async with httpx.AsyncClient() as client: