From db28977633326cae7f9087ca3b8369d1925d7645 Mon Sep 17 00:00:00 2001 From: Roger Joys Date: Sun, 15 Mar 2026 17:12:40 -0700 Subject: [PATCH] Adding debugging to get redirect url --- app/auth.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/auth.py b/app/auth.py index c754927..7f3c529 100644 --- a/app/auth.py +++ b/app/auth.py @@ -1,5 +1,8 @@ import httpx from app.config import AppConfig +import logging +logger = logging.getLogger(__name__) + SCOPES = "openid email profile" @@ -13,6 +16,7 @@ def get_authorization_url(config: AppConfig, state: str) -> str: "state": state, } query = "&".join(f"{k}={v}" for k, v in params.items()) + logger.info("Authorization URL: %s", url) return f"{config.authentik_host}/application/o/authorize/?{query}"