From 34fc865b303037bfc4def93c540696ba4ce2ea17 Mon Sep 17 00:00:00 2001 From: Chris Date: Wed, 1 Apr 2026 01:48:06 +0800 Subject: [PATCH] fix(auth): relax keycloak audience check and auto-redirect logged-in user --- app/core/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/core/config.py b/app/core/config.py index 6fa681f..6e0a190 100644 --- a/app/core/config.py +++ b/app/core/config.py @@ -106,7 +106,7 @@ class Settings(BaseSettings): @property def idp_audience(self) -> str: if self.use_keycloak: - return self.keycloak_audience or self.keycloak_client_id + return self.keycloak_audience return self.authentik_audience or self.authentik_client_id @property