Skip to content

[Feature Request] Redesign token caching in MSAL.NET #4257

Open
@bgavrilMS

Description

P1 Requirements

  • Memory limits on internal cache, ideally LRU based [Feature Request] Telemetry - cache size for in-memory cache #4197
  • No cache serialization in memory cache
  • Analyze the data for cache utilization and consider switching to shared cache + max memory size by default
  • Avoid cache race conditions. It is acceptable that new cache API is different from the old, as long as the actual data remains backwards compatible
  • Investigate using R9 memory cache in MSAL https://domoreexp.visualstudio.com/R9/_git/SDK/pullrequest/800604
  • When similar token requests are made (e.g. N threads asking for the exact same token), do not make N requests to the STS. Instead, block.

P2 requirements

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions