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