IdentityServer 7.4.x: Exponential claim duplication in server-side sessions with ASP.NET Identity #429
-
|
After upgrading from Duende.IdentityServer 7.3.2 to 7.4.x, server-side sessions grow exponentially. Claims are duplicated on each security stamp validation, following a 2^n growth pattern. Sessions can reach 15+ MB and cause
Session size remains stable (~2-5 KB). Session size doubles with each security stamp validation: Validations | Claims per type | Session Size -- | -- | -- 1 | 1 | ~2 KB 5 | 16 | ~30 KB 10 | 512 | ~1 MB 15 | 32,768 | ~15 MBDowngrade to 7.3.2.
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
|
Thanks for raising this issue! I can confirm that this is indeed a bug, causing the server-side session to grow as stated, eventually causing either an |
Beta Was this translation helpful? Give feedback.
-
|
@CHaerem We’ve released a new version 7.4.3 which fixes this problem. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.

@CHaerem We’ve released a new version 7.4.3 which fixes this problem.