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:
@@ -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" />
|
||||
|
||||
Reference in New Issue
Block a user