Forge Auth
ใช้งานจริงforge-auth · forge-auth
One identity for every BlueForge app.
ปรับใช้แล้วรันบน forge-control · ดีพลอยเมื่อ 2026-12-02 · b5e54f47
ขั้นตอนการใช้งาน
ดูทีละขั้นตอนว่าผู้คนทำอะไรใน Forge Auth
ฟีเจอร์
เปิดใช้แล้ว 12 จาก 14 ฟีเจอร์ · ยืนยันแล้ว 0
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.
เปิดใช้แล้วDevice-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.
เปิดใช้แล้วOrganizations 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.
เปิดใช้แล้วPlan 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.
เปิดใช้แล้วService 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.
เปิดใช้แล้วReferral 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.
เปิดใช้แล้วStripe 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.
กำลังพัฒนาWebhook 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.
ใช้ในManage one app's keys, providers, callback origins and webhook history
เปิดใช้แล้วAdmin 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.
ใช้ในManage one app's keys, providers, callback origins and webhook history
เปิดใช้แล้วStripe 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.
เปิดใช้แล้วPer-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.
เปิดใช้แล้ว
ความหมายของสัญลักษณ์
- เปิดใช้แล้ว
- — รีโพของแอปประกาศว่าเปิดใช้แล้ว
- กำลังพัฒนา
- — ประกาศว่ากำลังพัฒนา
สถานะมาจากการประกาศของแต่ละรีโพในไฟล์ features sidecar “ยืนยันแล้ว” ต้องมีหลักฐาน และเมื่อหลักฐานกับสถานะที่ประกาศไม่ตรงกัน จะยึดตามหลักฐาน
แผนงาน
วันที่เป็นเป้าหมาย ไม่ใช่คำมั่นสัญญา
2 กำลังจะมา · 4 ส่งมอบแล้ว
Subscription billing with plan-based entitlements
กำลังดำเนินการPlanned: demo tenants for apps
วางแผนไว้
ส่งมอบแล้ว
Device login and scoped API keys for command-line tools
เปิดใช้แล้วOne sign-in shared across every BlueForge app
เปิดใช้แล้วOrganizations with invitations and roles
เปิดใช้แล้วSign-in for AI tool servers across the product family
เปิดใช้แล้ว
- วันนี้
ภายหลัง
Subscription billing with plan-based entitlements
กำลังดำเนินการPlanned: demo tenants for apps
วางแผนไว้
แอปที่เกี่ยวข้อง
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