Skip to content

skeld 0.2.0

Choose a tag to compare

@ul0gic ul0gic released this 16 Nov 16:47
bc90649

Adds a route gate to @skeld/core and a new package, @skeld/auth.

On a gated server every route declares its access (public, optional, or a policy and an action) or listen rejects. Identification runs before the body is read; authorization runs after validation, before the handler. A server without a gate behaves as before.

@skeld/auth supplies policies with request-bound grants, sessions with a session-bound CSRF token, API keys, JWT verification, generic OpenID Connect sign-in, shared rate limits and Argon2id password helpers, over SQLite or PostgreSQL. Its only runtime dependency is @skeld/core. Users, credentials and account recovery stay with the application.

Install: npm install @skeld/core@0.2.0 @skeld/auth@0.2.0

Verified release workflow.