astrolabe-web-common
OfficialJWT auth and multi-SPA hosting for .NET apps.
System Documentation
What problem does it solve?
This Skill provides a cohesive set of ASP.NET Core utilities to simplify JWT-based authentication and hosting multiple Single Page Applications (SPAs) within a single application, including domain-based routing and development-mode controller filtering.
Core Features & Use Cases
- JWT Authentication: Simplifies token creation and validation for ASP.NET Core apps using JwtBearer with a compact configuration workflow.
- Virtual SPA Hosting: Routes requests to different SPAs based on domain prefixes, path segments, or custom logic, enabling multi-SPA deployments in a single backend.
- Development-Mode Controllers: Exposes controllers only in development for testing while hiding them in production to improve security.
Quick Start
Install and configure the Astrolabe.Web.Common package in your ASP.NET Core project. Set up JwtBearer authentication using the provided helpers. Enable domain-based SPA routing with UseDomainSpa for each SPA (e.g., main, admin, dashboard) and annotate development-only controllers with [DevMode] as needed.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 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: astrolabe-web-common Download link: https://github.com/astrolabe-apps/astrolabe-common/archive/main.zip#astrolabe-web-common Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.