identity-acl

Validate OIDC tokens and translate claims for ride-sharing identity management.

Updated Apr 21, 2026
One-click install
npx skills add https://github.com/erikshafer/CritterCab --skill identity-acl
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: identity-acl
Source: https://github.com/erikshafer/CritterCab/tree/main/docs/skills/identity-acl
Command: npx skills add https://github.com/erikshafer/CritterCab --skill identity-acl

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

Ensures secure and centralized user identity management across CritterCab's ride-sharing platform, adhering to the ADR-006 anti-corruption layer pattern for the Identity bounded context.

Core Features & Use Cases

  • Single Identity Integration Point: Serves as the single point of contact for identity providers, managing JWT token validation, claims translation, and domain event publication.
  • Provider Swappable Model: Supports seamless switching between Entra External ID, OpenIddict, and Keycloak without disrupting other services.
  • Token Validation & Authorization: Validates tokens against standard OIDC claims and translates them to domain-specific claims for authorization.
  • Service-to-Service Authentication: Facilitates secure communication between services using Managed Identity or OpenIddict for local dev.

Quick Start

Enable the identity-acl skill in CritterCab to configure user authentication and authorization across your ride-sharing platform.

Frequently Asked Questions about identity-acl

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
What is an anti-corruption layer for OIDC token validation?▼

An anti-corruption layer for OIDC token validation isolates your core domain from external identity providers by validating JWTs and translating standard claims into domain-specific authorization tokens. It centralizes identity management and prevents provider lock-in.

How do I validate JWT tokens and translate claims for service-to-service authentication?▼

You validate JWT tokens and translate claims by routing identity requests through an anti-corruption layer that checks standard OIDC claims, converts them to domain-specific permissions, and facilitates secure service-to-service communication using Managed Identity or OpenIddict.

Can I swap identity providers like Entra External ID and Keycloak without disrupting downstream services?▼

Yes, you can swap identity providers like Entra External ID, OpenIddict, or Keycloak without disrupting downstream services by using a provider-swappable anti-corruption layer that abstracts token validation and claims translation behind a single integration point.

When do I need an anti-corruption layer for user identity management?▼

You need an anti-corruption layer for user identity management when your platform requires centralized JWT validation, domain event publication, and decoupled service-to-service authentication to prevent external identity provider changes from corrupting your core bounded contexts.

Does the identity anti-corruption layer support local development service-to-service authentication?▼

Yes, the identity anti-corruption layer supports local development service-to-service authentication by utilizing OpenIddict as a local identity provider alternative, while seamlessly switching to Managed Identity for production cloud environments.

How to handle user lifecycle events and domain identity mapping across microservices?▼

You handle user lifecycle events and domain identity mapping by centralizing identity integration in an anti-corruption layer that validates external tokens, translates claims to domain-specific identities, and publishes domain events to downstream microservices.