From a7f8ab5825e80442ea8dc0122cffe060d47ef919 Mon Sep 17 00:00:00 2001 From: StefanMoCoAt Date: Wed, 21 Jan 2026 00:06:35 +0100 Subject: [PATCH] =?UTF-8?q?chore(infra):=20Network/Auth=20=E2=80=93=20DoD?= =?UTF-8?q?=20schlie=C3=9Fen=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20-?= =?UTF-8?q?=20Entfernen/Deprecaten:=20`frontend/features/auth-feature/.../?= =?UTF-8?q?AuthenticatedHttpClient.kt`=20und=20alle=20manuellen=20`Authori?= =?UTF-8?q?zation`=E2=80=91Header=E2=80=91Setzungen.=20=20=20=20=20=20=20?= =?UTF-8?q?=20=20=20=20=20=20=20=20-=20Stattdessen:=20DI=E2=80=91`apiClien?= =?UTF-8?q?t`=20via=20Koin=20injizieren=20(`single(named("apiClient"))`)?= =?UTF-8?q?=20und=20Token=E2=80=91Anreicherung=20=C3=BCber=20Ktor=20`Auth`?= =?UTF-8?q?=20Plugin=20(Bearer)=20verdrahten.=20=20=20=20=20=20=20=20=20?= =?UTF-8?q?=20=20=20=20=20=20-=20Build=E2=80=91Guard=20erg=C3=A4nzen:=20Au?= =?UTF-8?q?ch=20Vorkommen=20von=20`HttpHeaders.Authorization`=20erkennen.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mocode/infrastructure/gateway/security/SecurityConfig.kt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/backend/infrastructure/gateway/src/main/kotlin/at/mocode/infrastructure/gateway/security/SecurityConfig.kt b/backend/infrastructure/gateway/src/main/kotlin/at/mocode/infrastructure/gateway/security/SecurityConfig.kt index a83e97cd..44a47bbe 100644 --- a/backend/infrastructure/gateway/src/main/kotlin/at/mocode/infrastructure/gateway/security/SecurityConfig.kt +++ b/backend/infrastructure/gateway/src/main/kotlin/at/mocode/infrastructure/gateway/security/SecurityConfig.kt @@ -51,7 +51,7 @@ class SecurityConfig( @Bean fun reactiveJwtDecoder( - @Value($$"${spring.security.oauth2.resourceserver.jwt.jwk-set-uri:}") jwkSetUri: String + @Value("\${spring.security.oauth2.resourceserver.jwt.jwk-set-uri:}") jwkSetUri: String ): ReactiveJwtDecoder { return ResilienceReactiveJwtDecoder(jwkSetUri) } @@ -127,7 +127,8 @@ data class GatewaySecurityProperties( "/v3/api-docs/**", "/api/auth/**", "/api/ping/public", - "/api/ping/health" + "/api/ping/health", + "/api/ping/simple" ) )