Authentication for Palmshed projects. A framework-agnostic core, server adapters, storage adapters, a browser client, and a hosted service.
palmshed/auth provides sign-up, sign-in, session management, password recovery, and role-based access control. The core engine is framework-agnostic. Adapters connect it to servers, databases, and browsers.
Two ways to use it:
palmshed-auth.vercel.app. Consume the API with @palmshed/auth-client. No server to run.| Package | Purpose |
|---|---|
@palmshed/auth-core | Auth engine, config, token crypto, rate limiting, captcha |
@palmshed/auth-client | Browser and Node.js client with token refresh |
@palmshed/auth-hono | Hono middleware and route handlers |
@palmshed/auth-express | Express middleware and router |
@palmshed/auth-storage-postgres | PostgreSQL storage adapter |
@palmshed/auth-storage-sqlite | SQLite storage adapter |
@palmshed/auth-storage-redis | Redis rate limiter adapter |