Store DataProtection keys in Redis to fix cross-pod cookie decryption

Without shared key storage, pod A's cookies were unreadable by pod B, causing
an infinite OIDC redirect loop that appeared as access denied. Keys are now
persisted under SOR.Admin:DataProtection-Keys in the existing Redis instance.

Generated with [Claude Code](https://claude.ai/code)
via [Happy](https://happy.engineering)

Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Happy <yesreply@happy.engineering>
This commit is contained in:
dingo
2026-04-04 13:34:44 -04:00
co-authored by Claude Happy
parent f9ec834a7a
commit e4ddd801e3
3 changed files with 18 additions and 7 deletions
+1
View File
@@ -15,6 +15,7 @@
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.AspNetCore.DataProtection.StackExchangeRedis" />
<PackageReference Include="StackExchange.Redis" />
<ProjectReference Include="..\SOR.Cdn\SOR.Cdn.csproj" />