msal-cache-handling

Community

Ensures reliable MSAL token caching and collision recovery.

Authorjguadagno
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill addresses the challenge of handling distributed token cache collisions and stale entries in ASP.NET Core applications, preventing authorization errors and ensuring seamless user authentication.

Core Features & Use Cases

  • Token Cache Collision Handling: Detects and recovers from cache collisions caused by multiple tokens or cache inconsistencies.
  • Error Management: Implements robust error detection and automatic sign-out to maintain application stability.
  • Use Case: Ideal for multi-instance web applications using SQL-backed distributed caches that experience token conflicts during app recycles or high concurrency.

Quick Start

Configure ASP.NET Core to use the custom cookie event handler and SQL cache, then authentication will automatically recover from token cache errors.

Dependency Matrix

Required Modules

None required

Components

scriptsreferences

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: msal-cache-handling
Download link: https://github.com/jguadagno/jjgnet-broadcast/archive/main.zip#msal-cache-handling

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.