Local-provider token issuance
Auto-generated from the source archive. Do not edit by hand — rerun
catalyst-changelog-syncinstead.
What changed
Section titled “What changed”- Catalyst can now issue its own tokens via the
local-providerstrategy (OAUTH_STRATEGY=local-provider): a newPOST /api/o-auth/tokenendpoint supporting the RFC 6749 Password grant (§4.3) and Refresh Token grant (§6), form-urlencoded with HTTP Basic client auth. - Adds RS256 JWT signing with a local key, a
GET /.well-known/jwks.jsonendpoint so other instances (inaurora-hubmode) can verify the tokens, anOAuthCredentialaggregate logging every issuance, per-IP rate limiting, and a daily retention purge.
Why it matters
Section titled “Why it matters”Until now a catalyst install could only consume tokens from an external hub — it needed a separate identity authority alongside it. With local-provider, a single install authenticates its own users and becomes the identity authority for satellites. Refresh tokens are opaque random strings validated against the database, and access tokens carry only the minimal aci claim.