Forge Auth
En producciónforge-auth · forge-auth
One identity for every BlueForge app.
DesplegadaFunciona con forge-control · Desplegada 2026-12-02 · b5e54f47
Flujos de usuario
Recorre paso a paso lo que la gente hace en Forge Auth.
Funciones
12 de 14 funciones lanzadas · 0 verificadas
One OAuth flow shared across every BlueForge app — Google, GitHub, and Gitea credentials live in Forge Auth and are federated to each consumer.
Sign in with Google, GitHub or email once — the cross-subdomain session cookie is shared with every *.blueforge.studio app, with Gitea as an extra branch.
LanzadaDevice-flow user-bound API keys — a desktop CLI logs the user in once, then issues scoped keys for unattended calls; the same client can resolve a key back to the owning user via the `/api/v1/users/resolve` verifier. Each key is bounded (default 30-day lifetime, re-approved through the device flow), labelled with the device that asked for it, and revocable on its own via `GET /api/v1/me/keys` + `DELETE /api/v1/me/keys/:keyId`.
A desktop CLI logs the user in once with an 8-character device code, then gets a user-bound, scoped API key the federation resolves back to the owning user.
LanzadaOrganizations behind `FORGE_AUTH_ORGANIZATIONS` — Better Auth's org plugin wired into the central database, with personal orgs, invitations, role mapping from legacy teams, and per-plan entitlements (e.g. `financials.apps.max`) read by sibling apps like financials-os.
Multi-tenant orgs behind FORGE_AUTH_ORGANIZATIONS — a personal org per user, email invitations with roles, per-plan entitlements sibling apps read, and org lifecycle webhooks.
Se usa enInvite someone to an organization and have them join
LanzadaPlan entitlements — forge-auth owns every plan limit (seats, apps, monthly active users, per-product caps) and serves the per-organization answer over a scoped read API, a public static catalog and the session claim, so sibling apps read the limit instead of guessing it.
forge-auth owns every plan limit (PLANS table, price→plan resolution, seats, founding flags) and serves the per-org answer over an SA-scoped read API, a public static catalog, and the get-session claim.
LanzadaService accounts — scoped machine credentials minted through the admin API, exchanged for a short-lived token, resolvable by the services that hold them, and narrowed again by the organization that grants them access. A grant can only ever take scopes away, never add them.
A machine credential with its own scope set — minted by an admin, exchanged for a short-lived JWT, and narrowed again by an organization that grants it access.
Se usa enInvite someone to an organization and have them join
LanzadaReferral attribution — a `?ref=` code captured at sign-in is attributed to the referral and, at checkout, becomes trial days or a Stripe coupon; a paid invoice reports the conversion back. referrals-os owns the codes, and the lane no-ops when it is not configured.
A ?ref= code lands in a 30-day cookie at /login, the sign-up is attributed to referrals-os, checkout turns the code into trial days or a referral_{code} Stripe coupon, and invoice.paid reports the conversion back.
LanzadaStripe checkout + portal + webhook with a subscription table that flips the org's plan between `free` / `basic` / `pro` / `team` / `enterprise`.
A signed-in caller creates a subscription Checkout Session (bundle plan or explicit priceId, promo/referral codes, extra seats, optional org billing), opens the Stripe Customer Portal, and the HMAC-verified webhook keeps the subscription table — and therefore org entitlements — in sync.
En cursoWebhook emitter — `organization.*`, `member.*`, `invitation.*`, `service_grant.*`, `subscription.*` and `account.*` events reach every app that registered a webhook URL as a signed JSON envelope, with a delivery log and an automatic retry schedule.
When something happens in the identity plane, every app that registered a webhook URL gets a signed JSON event, with an attempt history and an automatic retry schedule.
Se usa enManage one app's keys, providers, callback origins and webhook history
LanzadaAdmin console — one page per concern for every registered app: its API keys, its OAuth providers, the callback origins it may return to, and the webhook events delivered to it.
One admin console over the app table — per-app API keys, OAuth providers, allowed callback origins and the app's own webhook delivery history, each on its own page.
Se usa enManage one app's keys, providers, callback origins and webhook history
LanzadaStripe activity monitor — verified webhook events are stored as a PII-free projection (ids, amounts, currency, status) and read back via `GET /api/payments/events` and `/events/summary` with the `payments-events:read` scope.
LanzadaPer-app branding on the hosted auth pages — /login and /sign-up resolve the initiating app from the `?redirect=` origin against the app registry's trusted origins and render that app's name, logo and accent colour (per-app overrides in `app.branding`, written via PATCH /api/admin/apps/:id); apps can also link straight to account creation via /sign-up, which reuses the sign-in page's redirect security model.
Lanzada
Qué significan las marcas
- Lanzada
- — declarada como lanzada por el propio repositorio de la app
- En curso
- — declarada en curso
Los estados los declara cada repositorio en su sidecar de funciones. “Verificada” requiere evidencia y, cuando la evidencia y el estado declarado no coinciden, prevalece la evidencia.
Hoja de ruta
Las fechas son objetivos, no promesas.
2 próximos · 4 entregados
Subscription billing with plan-based entitlements
En cursoPlanned: demo tenants for apps
Planificado
Entregado
Device login and scoped API keys for command-line tools
PublicadoOne sign-in shared across every BlueForge app
PublicadoOrganizations with invitations and roles
PublicadoSign-in for AI tool servers across the product family
Publicado
- Hoy
Después
Subscription billing with plan-based entitlements
En cursoPlanned: demo tenants for apps
Planificado
Apps relacionadas
Bevy Game Editor
The 3D game editor built on Bevy
- 48 dockable panels — hierarchy, inspector, viewport, timeline, mixer and more
- Edit a running Bevy world live over a WebSocket bridge
- Built-in MCP server with 88 working tools for AI agents
Linux
Deployed 2026-12-01 · a9c99714
BlueForge Studio
Where ideas take shape
- Every product promoted from what its own deployment reports, not hand-kept marketing
- A daily catalog scorecard auditing each product's deploy, copy, links and imagery
- Self-hosted underneath - forge-control, packr, forge-git and error tracking
Deployed 2026-12-01 · 2f64b998