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
+2
View File
@@ -25,6 +25,8 @@
<!-- ── Redis ─────────────────────────────────────────────────────────── -->
<!-- StackExchange.Redis: battle-tested, high-performance Redis client for .NET -->
<PackageVersion Include="StackExchange.Redis" Version="2.7.33" />
<!-- DataProtection keys stored in Redis so all pods share the same key ring -->
<PackageVersion Include="Microsoft.AspNetCore.DataProtection.StackExchangeRedis" Version="8.0.0" />
<!-- ── Entity Framework Core ─────────────────────────────────────────── -->
<!-- EF Core ORM: maps C# classes to database tables, generates SQL queries -->
<PackageVersion Include="Microsoft.EntityFrameworkCore" Version="8.0.0" />