@stackwright-pro/auth
v0.2.0-alpha.12
Published
Lightweight, framework-agnostic authentication for Stackwright with PKI/CAC and OIDC support
Readme
@stackwright-pro/auth
Lightweight, auditable authentication for Stackwright
A minimal, framework-agnostic authentication library built for government and enterprise environments where security, auditability, and simplicity matter.
✨ Features
- PKI/CAC Authentication – Full X.509 client certificate support with DN parsing and CRL validation
- OIDC Integration – Standards-compliant OpenID Connect flows (Authorization Code, Implicit, Hybrid)
- Component-Level RBAC – Fine-grained authorization decorators and hooks for React components
- Framework Agnostic – Works with any modern web framework (React, Next.js, Express, Fastify, etc.)
- Minimal Footprint – ~500 lines of core logic, zero unnecessary abstractions
- Type-Safe – Full TypeScript support with Zod schema validation
- Audit-Ready – Structured logging and compliance-friendly session management
📦 Installation
pnpm add @stackwright-pro/auth📖 Documentation
See AUTH-IMPLEMENTATION-PLAN.md for the complete roadmap and implementation details.
🚀 Quick Start
Coming soon! This package is currently under active development.
📄 License
PROPRIETARY - For authorized use only within Stackwright Pro projects.
