fix(admin-auth): use dedicated Keycloak secret key for sor-admin

This commit is contained in:
Shard
2026-04-30 23:32:43 +00:00
parent ee21346fb0
commit e150e9a485
3 changed files with 13 additions and 5 deletions
+4 -3
View File
@@ -85,12 +85,13 @@ spec:
name: sor-app-secrets
key: Admin__Password
# Keycloak OIDC confidential client secret (required for code→token exchange).
- name: Keycloak__ClientSecret
# Keycloak OIDC secret for the sor-admin client (required for code→token exchange).
# Use a dedicated key to avoid accidental secret sharing with other clients.
- name: Keycloak__ClientSecret__Admin
valueFrom:
secretKeyRef:
name: sor-app-secrets
key: Keycloak__ClientSecret
key: Keycloak__ClientSecret__Admin
# ASP.NET Core Data Protection — persists Blazor auth cookies across restarts.
# TODO: generate a strong random value and store in sor-app-secrets.