@quickback-dev/cli 0.50.8 → 0.51.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/docs/content.js +7 -7
- package/dist/docs/content.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/skill/docs/changelog.md +115 -0
- package/dist/skill/docs/compiler/config/auth.md +11 -2
- package/dist/skill/docs/compiler/config/providers.md +4 -4
- package/dist/skill/docs/compiler/definitions/rate-limit.md +11 -9
- package/dist/skill/docs/compiler/targets/hono-api/database/neon.md +4 -0
- package/dist/skill/docs/stack/realtime/durable-objects.md +12 -7
- package/dist/skill/docs/stack/realtime/index.md +37 -7
- package/package.json +1 -1
- package/src/skill/docs/changelog.md +115 -0
- package/src/skill/docs/compiler/config/auth.md +11 -2
- package/src/skill/docs/compiler/config/providers.md +4 -4
- package/src/skill/docs/compiler/definitions/rate-limit.md +11 -9
- package/src/skill/docs/compiler/targets/hono-api/database/neon.md +4 -0
- package/src/skill/docs/stack/realtime/durable-objects.md +12 -7
- package/src/skill/docs/stack/realtime/index.md +37 -7
package/dist/docs/content.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"content.js","sourceRoot":"","sources":["../../src/docs/content.ts"],"names":[],"mappings":"AAAA,+BAA+B;AAC/B,0DAA0D;AAO1D,MAAM,CAAC,MAAM,IAAI,GAA6B;IAC5C,WAAW,EAAE;QACX,OAAO,EAAE,WAAW;QACpB,SAAS,EAAE,0y+DAA0y+D;KACtz+D;IACD,4BAA4B,EAAE;QAC5B,OAAO,EAAE,oBAAoB;QAC7B,SAAS,EAAE,giRAAgiR;KAC5iR;IACD,wCAAwC,EAAE;QACxC,OAAO,EAAE,gBAAgB;QACzB,SAAS,EAAE,kmEAAkmE;KAC9mE;IACD,6BAA6B,EAAE;QAC7B,OAAO,EAAE,eAAe;QACxB,SAAS,EAAE,8tSAA8tS;KAC1uS;IACD,gCAAgC,EAAE;QAChC,OAAO,E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AqB;IACrB,wBAAwB;IACxB,YAAY;IACZ,6BAA6B;IAC7B,+BAA+B;IAC/B,4BAA4B;IAC5B,4BAA4B;IAC5B,oBAAoB;IACpB,qBAAqB;IACrB,uBAAuB;IACvB,mBAAmB;IACnB,sBAAsB;IACtB,sBAAsB;IACtB,qBAAqB;IACrB,WAAW;IACX,0BAA0B;IAC1B,iBAAiB;IACjB,0BAA0B;IAC1B,yBAAyB;IACzB,2BAA2B;IAC3B,oBAAoB;IACpB,uBAAuB;IACvB,OAAO;IACP,uBAAuB;IACvB,cAAc;IACd,2BAA2B;IAC3B,gCAAgC;IAChC,gBAAgB;IAChB,2BAA2B;IAC3B,kCAAkC;IAClC,+BAA+B;IAC/B,iBAAiB;IACjB,eAAe;IACf,kBAAkB;IAClB,kBAAkB;IAClB,wBAAwB;IACxB,wBAAwB;IACxB,yBAAyB;IACzB,cAAc;IACd,+BAA+B;IAC/B,wBAAwB;IACxB,gBAAgB;IAChB,yBAAyB;CAC1B,CAAC"}
|
|
1
|
+
{"version":3,"file":"content.js","sourceRoot":"","sources":["../../src/docs/content.ts"],"names":[],"mappings":"AAAA,+BAA+B;AAC/B,0DAA0D;AAO1D,MAAM,CAAC,MAAM,IAAI,GAA6B;IAC5C,WAAW,EAAE;QACX,OAAO,EAAE,WAAW;QACpB,SAAS,EAAE,6zkEAA6zkE;KACz0kE;IACD,4BAA4B,EAAE;QAC5B,OAAO,EAAE,oBAAoB;QAC7B,SAAS,EAAE,giRAAgiR;KAC5iR;IACD,wCAAwC,EAAE;QACxC,OAAO,EAAE,gBAAgB;QACzB,SAAS,EAAE,kmEAAkmE;KAC9mE;IACD,6BAA6B,EAAE;QAC7B,OAAO,EAAE,eAAe;QACxB,SAAS,EAAE,8tSAA8tS;KAC1uS;IACD,gCAAgC,EAAE;QAChC,OAAO,EAAE,WAAW;QACpB,SAAS,EAAE,2iKAA2iK;KACvjK;IACD,mCAAmC,EAAE;QACnC,OAAO,EAAE,WAAW;QACpB,SAAS,EAAE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BAAoB;IACpB,qBAAqB;IACrB,uBAAuB;IACvB,mBAAmB;IACnB,sBAAsB;IACtB,sBAAsB;IACtB,qBAAqB;IACrB,WAAW;IACX,0BAA0B;IAC1B,iBAAiB;IACjB,0BAA0B;IAC1B,yBAAyB;IACzB,2BAA2B;IAC3B,oBAAoB;IACpB,uBAAuB;IACvB,OAAO;IACP,uBAAuB;IACvB,cAAc;IACd,2BAA2B;IAC3B,gCAAgC;IAChC,gBAAgB;IAChB,2BAA2B;IAC3B,kCAAkC;IAClC,+BAA+B;IAC/B,iBAAiB;IACjB,eAAe;IACf,kBAAkB;IAClB,kBAAkB;IAClB,wBAAwB;IACxB,wBAAwB;IACxB,yBAAyB;IACzB,cAAc;IACd,+BAA+B;IAC/B,wBAAwB;IACxB,gBAAgB;IAChB,yBAAyB;CAC1B,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -2,6 +2,121 @@
|
|
|
2
2
|
|
|
3
3
|
## Unreleased
|
|
4
4
|
|
|
5
|
+
### Action rate limits now emit — documented since the rate-limit pillar, wired now
|
|
6
|
+
|
|
7
|
+
The [rate-limit docs](/compiler/definitions/rate-limit#actions) have described
|
|
8
|
+
per-action rate limiting since the pillar shipped: record-based actions inherit
|
|
9
|
+
the resource's `update` bucket, standalone actions inherit the project-default
|
|
10
|
+
`update` bucket, and actions may declare a `rateLimit` override or opt out with
|
|
11
|
+
`rateLimit: false`. The generated routes never contained the checks. They now
|
|
12
|
+
do, exactly per the documented contract:
|
|
13
|
+
|
|
14
|
+
- Record-based actions (and their bulk variants, which share the same counter —
|
|
15
|
+
one token per batch request) are keyed
|
|
16
|
+
`<resource>:action:<name>:<user>`; standalone actions are keyed
|
|
17
|
+
`standalone:<declaredPath>:<user>`. The `:action:`/`standalone:` infixes mean
|
|
18
|
+
action counters never collide with CRUD counters.
|
|
19
|
+
- `rateLimit: { limit, period }` on an action emits its own binding
|
|
20
|
+
(deduped by tuple, same `RL_<limit>_<period>` scheme); `rateLimit: false`
|
|
21
|
+
opts the action out entirely.
|
|
22
|
+
- Record-based action routes are now **exempted** from the per-resource CRUD
|
|
23
|
+
catch-all middleware. Previously a `POST /:id/approve` was incidentally
|
|
24
|
+
counted against the resource's `create` bucket — wrong bucket, wrong key.
|
|
25
|
+
- Actions-only (tableless) projects now provision the project-default binding;
|
|
26
|
+
previously they shipped with none.
|
|
27
|
+
|
|
28
|
+
**Behavior change:** standalone actions were previously *unlimited*; they now
|
|
29
|
+
inherit the project-default `update` bucket (200 requests / 60s per user/IP
|
|
30
|
+
with shipped defaults). PUBLIC webhook-style endpoints that absorb provider
|
|
31
|
+
bursts should declare their own budget (`rateLimit: { limit: 1000, period: 10 }`)
|
|
32
|
+
or opt out (`rateLimit: false`). The compiler emits a warning when a PUBLIC
|
|
33
|
+
standalone action silently inherits the default, so affected actions are
|
|
34
|
+
flagged at compile time.
|
|
35
|
+
|
|
36
|
+
### Better Auth CLI pinned and shipped as a generated devDependency
|
|
37
|
+
|
|
38
|
+
The generated `auth:schema` script runs `npx better-auth generate`, but the
|
|
39
|
+
`better-auth` runtime package ships no executable — the `better-auth` bin
|
|
40
|
+
lives in the npm package `auth` (the official Better Auth CLI; the team took
|
|
41
|
+
over that name at 1.5.0, superseding the frozen `@better-auth/cli`). Generated
|
|
42
|
+
projects now declare `auth` as a devDependency pinned to the runtime's minor
|
|
43
|
+
line, so `npm run build` resolves the CLI locally instead of requiring a
|
|
44
|
+
global install. The compiler image's global CLI is pinned to the same version,
|
|
45
|
+
eliminating silent skew between the CLI on `latest` and the pinned runtime.
|
|
46
|
+
|
|
47
|
+
### Compile warning when an action's input schema degrades to untyped
|
|
48
|
+
|
|
49
|
+
When action input schemas aren't harvested client-side (older CLI, or a direct
|
|
50
|
+
`/compile` API call), the static Zod parser supplies OpenAPI/MCP input schemas
|
|
51
|
+
— and silently degrades unrecognized constructs (discriminated unions,
|
|
52
|
+
refinements, `z.record`, transforms) to the accept-anything `{}`. That
|
|
53
|
+
degradation is no longer silent: the compile result now carries a warning per
|
|
54
|
+
affected action naming the route, source file, and the exact untyped field
|
|
55
|
+
paths. Actions covered by the CLI harvest are never warned on, and actions
|
|
56
|
+
that declare no input are skipped.
|
|
57
|
+
|
|
58
|
+
### Auth docs: JWT security posture stated up front
|
|
59
|
+
|
|
60
|
+
The [Auth & JWT page](/compiler/config/auth) now leads with the posture
|
|
61
|
+
summary instead of burying it: the default 180-second auto-refreshed TTL plus
|
|
62
|
+
`revocationCheck: 'kv'` (seconds-level revocation, auto-stamped on ban /
|
|
63
|
+
member removal / role change / scope-conferring row changes) is the
|
|
64
|
+
recommended configuration and covers the vast majority of deployments — with
|
|
65
|
+
the residual trade-offs (per-principal granularity, fail-open on KV outage,
|
|
66
|
+
~60s cross-PoP propagation) stated explicitly for strict threat models.
|
|
67
|
+
|
|
68
|
+
### Neon via-user reads: generated list handlers now typecheck against the concretely-typed service handle
|
|
69
|
+
|
|
70
|
+
On Neon, a read firewall carrying a via-user multi-hop relationship predicate
|
|
71
|
+
routes the generated read handlers to `createServiceDb(c.env)` — a genuine
|
|
72
|
+
`NeonHttpDatabase<typeof schema>` — instead of the loosely-typed request db.
|
|
73
|
+
The list handler's query construction declared drizzle select builders with
|
|
74
|
+
`let` and reassigned them (`query = query.where(…)`, `.orderBy(…)`,
|
|
75
|
+
`.limit(…).offset(…)`, and the count/aggregation/group-by variants), which is
|
|
76
|
+
a type error against drizzle's immutable builder typing: `.where()` returns
|
|
77
|
+
`Omit<PgSelectBase<…>, "where">`, not the declared type. Every affected
|
|
78
|
+
declaration now appends `.$dynamic()`, drizzle's sanctioned mode for
|
|
79
|
+
incremental query building — types only; the emitted SQL is unchanged. Reads
|
|
80
|
+
routed through `c.get('db')` were never affected at runtime (the handler code
|
|
81
|
+
is identical); they simply never surfaced the latent typing defect because the
|
|
82
|
+
request-db handle is not concretely typed. The Neon output `tsc` gate now also
|
|
83
|
+
stages the emitted service-read route files (via-user fixture) with a control
|
|
84
|
+
that re-strips `.$dynamic()` and asserts the failure, so query-builder typing
|
|
85
|
+
regressions in generated route files fail CI.
|
|
86
|
+
|
|
87
|
+
### ws-ticket minting now accepts all three authorization vocabularies
|
|
88
|
+
|
|
89
|
+
`POST /broadcast/v1/ws-ticket` could previously be gated only by an authz
|
|
90
|
+
relationship role (`wsTicket.role`) or a namespace. The mint gate now takes an
|
|
91
|
+
explicit discriminated `access` form — the arm names the vocabulary, so a bare
|
|
92
|
+
name can never silently shadow across vocabularies:
|
|
93
|
+
|
|
94
|
+
- `access: { roles: ["member+"] }` — **org-membership roles**, with
|
|
95
|
+
`auth.roleHierarchy` `+` expansion (compile error without a hierarchy).
|
|
96
|
+
Firewall-consistent: the route verifies the caller's org role **and** that
|
|
97
|
+
the requested `scopeTable` row belongs to the caller's *active* organization
|
|
98
|
+
— an org-A member cannot mint a ticket to org B's room. Requires an
|
|
99
|
+
organization column on the scope table (compile error otherwise). UPPERCASE
|
|
100
|
+
pseudo-roles are rejected: a `PUBLIC`/`AUTHENTICATED` ticket factory would
|
|
101
|
+
hand signed room credentials to callers with no org standing.
|
|
102
|
+
- `access: { authzRole: "attendee" }` — the existing **relationship-role**
|
|
103
|
+
gate, unchanged. The legacy `role: "attendee"` string remains the shorthand
|
|
104
|
+
and compiles byte-identically (regression-pinned against a golden fixture).
|
|
105
|
+
- `access: { fga: { relation: "viewer", object: "event:{id}" } }` — an **FGA
|
|
106
|
+
relation** on the object derived from the tenant-bound scope row. The object
|
|
107
|
+
template is the read path's `access: { fga }` language, and the check runs
|
|
108
|
+
through the same org-scoped evaluator (`ctx.fga.check`) — not a second one.
|
|
109
|
+
The object type and relation are validated against the `authz.fga` model at
|
|
110
|
+
compile time; a non-tenant-scoped `scopeTable` is rejected like the
|
|
111
|
+
namespace path.
|
|
112
|
+
|
|
113
|
+
Everything fails closed at compile time with actionable errors: exactly one
|
|
114
|
+
authorization source (`access` never coexists with `role` or `namespace`),
|
|
115
|
+
exactly one `access` arm, ambiguous names living in two vocabularies, missing
|
|
116
|
+
hierarchy, missing FGA model, and missing organization columns all fail the
|
|
117
|
+
build. See [Realtime](/stack/realtime#enabling-realtime).
|
|
118
|
+
|
|
119
|
+
|
|
5
120
|
### Neon hyperdrive: generated `env.d.ts` now types the `HYPERDRIVE` binding
|
|
6
121
|
|
|
7
122
|
`connectionMode: "hyperdrive"` projects emit a `[[hyperdrive]] binding =
|
|
@@ -24,6 +24,15 @@ Lowest-to-highest privilege list. Lets access rules use `'role+'` shorthand to m
|
|
|
24
24
|
|
|
25
25
|
Quickback ships its own custom HMAC-SHA256 JWT (not Better Auth's JWT plugin) so it can embed `orgId` and `role` claims the fast-path needs to reconstruct `AppContext` without a database round-trip. The signing secret is shared with Better Auth (`BETTER_AUTH_SECRET`) by default — users only manage one secret.
|
|
26
26
|
|
|
27
|
+
### Security posture at a glance
|
|
28
|
+
|
|
29
|
+
The short version, before the knob-by-knob detail:
|
|
30
|
+
|
|
31
|
+
- **Default: 180-second TTL, auto-refreshed.** Every authenticated call returns a fresh token via the `set-auth-token` header, so the low TTL is invisible to logged-in users. The worst-case window for a stolen or pre-revocation token is 3 minutes — and you can shrink it to 30 seconds with one config line.
|
|
32
|
+
- **Need revocation faster than the TTL?** Set [`revocationCheck: 'kv'`](#revocationcheck-none--kv--token-revocation-strategy). Revoked tokens are rejected within seconds; revocation stamps are written automatically on user ban, org-member removal, role change, and changes to scope-conferring relationship rows.
|
|
33
|
+
|
|
34
|
+
Those two knobs — `expiresIn` and `revocationCheck` — cover the vast majority of deployments. The honest residual for the strictest threat models: the KV check revokes per-principal (not per-session), fails open if KV is unreachable (degrading to the TTL bound), and propagates cross-PoP in ~60s. If you need fail-closed, per-session kill semantics, set `expiresIn: 30` for a hard 30-second ceiling — and [tell us about your use case](https://github.com/kardoe/quickback/issues); an opaque-session mode is under consideration.
|
|
35
|
+
|
|
27
36
|
### Behavior recap
|
|
28
37
|
|
|
29
38
|
1. The browser SPA gets a JWT via the `set-auth-token` response header on every authenticated call.
|
|
@@ -32,7 +41,7 @@ Quickback ships its own custom HMAC-SHA256 JWT (not Better Auth's JWT plugin) so
|
|
|
32
41
|
4. If verification fails (or no JWT is present), the middleware falls back to session auth.
|
|
33
42
|
5. After successful session auth, a fresh JWT is minted and returned via `set-auth-token`. The cycle continues.
|
|
34
43
|
|
|
35
|
-
The fast-path is intentionally stateless: it trusts the claims for the full TTL. **Stolen or pre-revocation tokens are valid until they expire.** That's the trade-off the fast-path makes — and the reason `expiresIn`
|
|
44
|
+
The fast-path is intentionally stateless: it trusts the claims for the full TTL. **Stolen or pre-revocation tokens are valid until they expire.** That's the trade-off the fast-path makes — and the reason `expiresIn` and `revocationCheck` are the two most-tuned knobs below: the first bounds the window, the second shrinks it to seconds.
|
|
36
45
|
|
|
37
46
|
### `expiresIn?: number` — TTL in seconds
|
|
38
47
|
|
|
@@ -121,7 +130,7 @@ Adding the `auth.jwt` block without setting any field is a no-op vs. the 0.10.13
|
|
|
121
130
|
- **B2C SaaS, mostly browser traffic:** keep defaults. The 180s TTL + auto-refresh model just works.
|
|
122
131
|
- **Pentest engagement / enterprise compliance:** set `expiresIn: 30`. Tokens stay invisible to logged-in users (auto-refreshed every authed call) but stolen-token windows shrink to 30s.
|
|
123
132
|
- **CLI-heavy / long-running CI tokens:** `expiresIn: 3600` for one-hour bearer tokens. Pair with `issuer` / `audience` if multiple services consume the same JWT.
|
|
124
|
-
- **Need immediate revocation:** set `revocationCheck: 'kv'` (Cloudflare runtime). Or drop TTL to ~30s — similar effect with bounded delay and zero KV reads.
|
|
133
|
+
- **Need immediate revocation:** set `revocationCheck: 'kv'` (Cloudflare runtime) — revoked tokens are rejected within seconds, and stamps are written automatically on user ban, member removal, role change, and scope-conferring row changes (see the [scope revocation notes](/compiler/definitions/scopes#revocation--ttl)). Or drop TTL to ~30s — similar effect with bounded delay and zero KV reads.
|
|
125
134
|
|
|
126
135
|
## `auth.loginUrl` / `auth.profileUrl` — external sign-in for consumer Workers
|
|
127
136
|
|
|
@@ -197,14 +197,14 @@ providers: {
|
|
|
197
197
|
}
|
|
198
198
|
```
|
|
199
199
|
|
|
200
|
-
For
|
|
200
|
+
For resource-scoped tickets, use the object form. The mint gate is a discriminated `access` union — exactly one arm:
|
|
201
201
|
|
|
202
202
|
```typescript
|
|
203
203
|
providers: {
|
|
204
204
|
database: defineDatabase("cloudflare-d1", {
|
|
205
205
|
realtime: {
|
|
206
206
|
wsTicket: {
|
|
207
|
-
|
|
207
|
+
access: { authzRole: "attendee" }, // or { roles: ["member+"] } or { fga: { relation, object } }
|
|
208
208
|
requestField: "eventId",
|
|
209
209
|
scopeTable: "events",
|
|
210
210
|
},
|
|
@@ -215,11 +215,11 @@ providers: {
|
|
|
215
215
|
|
|
216
216
|
`wsTicket` tells the compiler how to authorize `/broadcast/v1/ws-ticket` and what scope to stamp into the short-lived websocket ticket:
|
|
217
217
|
|
|
218
|
-
- `
|
|
218
|
+
- `access`: the mint gate — one of `{ roles: ["member+"] }` (org-membership roles with hierarchy expansion; also verifies the scope row is in the caller's active org), `{ authzRole: "attendee" }` (an authz role declared under `authz.roles` with a direct relationship `{ via: "..." }`), or `{ fga: { relation: "viewer", object: "event:{id}" } }` (an FGA relation on the object derived from the scope row). The legacy `role: "attendee"` string is the shorthand for `{ authzRole }`.
|
|
219
219
|
- `requestField`: the JSON body field the client posts to `/broadcast/v1/ws-ticket`
|
|
220
220
|
- `scopeTable`: the parent resource table that defines the broadcast scope key
|
|
221
221
|
|
|
222
|
-
In other words: the
|
|
222
|
+
In other words: the declared gate proves access, and the `scopeTable` row defines the channel. For an attendee flow, `guests` (or RSVP) would be the relationship evidence and `events` would be the `scopeTable`; see [Realtime](/stack/realtime#enabling-realtime) for the full per-arm semantics.
|
|
223
223
|
|
|
224
224
|
Quickback keeps Better Auth as the front door, then mints its own 60-second websocket ticket after the authz check succeeds. The generated `createRealtime()` helper and Broadcaster share the same targeting model:
|
|
225
225
|
|
|
@@ -100,19 +100,19 @@ This means:
|
|
|
100
100
|
The compiler walks every resource, collects unique `(limit, period)` tuples, and emits one Cloudflare binding per tuple to `wrangler.toml`:
|
|
101
101
|
|
|
102
102
|
```toml
|
|
103
|
-
[[
|
|
103
|
+
[[ratelimits]]
|
|
104
104
|
name = "RL_1000_60"
|
|
105
|
-
|
|
106
|
-
namespace_id = "60001000"
|
|
105
|
+
namespace_id = "60002000"
|
|
107
106
|
simple = { limit = 1000, period = 60 }
|
|
108
107
|
|
|
109
|
-
[[
|
|
108
|
+
[[ratelimits]]
|
|
110
109
|
name = "RL_200_60"
|
|
111
|
-
|
|
112
|
-
namespace_id = "60000200"
|
|
110
|
+
namespace_id = "60001200"
|
|
113
111
|
simple = { limit = 200, period = 60 }
|
|
114
112
|
```
|
|
115
113
|
|
|
114
|
+
`namespace_id` is a stable per-tuple integer (`1000 + period * 1_000_000 + limit`), so it survives resource reordering and never drifts across recompiles.
|
|
115
|
+
|
|
116
116
|
Each generated CRUD handler invokes `c.env.RL_<L>_<P>.limit({ key })` between the auth gate and the access check. Hitting the limit returns:
|
|
117
117
|
|
|
118
118
|
```http
|
|
@@ -171,6 +171,8 @@ Set `rateLimit: false` to opt the action out of enforcement entirely.
|
|
|
171
171
|
|
|
172
172
|
The `:action:` infix is what keeps `update` (resource bucket) and `approve` (action bucket) from sharing counters when they happen to land on the same binding name.
|
|
173
173
|
|
|
174
|
+
A record action's bulk variant (`POST /<resource>/batch/<action>`) shares its single-record sibling's key exactly, so a batch of N records consumes **one** token from the action's bucket per request — not N.
|
|
175
|
+
|
|
174
176
|
## Cardinality — how many bindings ship
|
|
175
177
|
|
|
176
178
|
Cloudflare bindings are sized at compile time (limit + period are baked in), so the compiler emits one binding per **unique `(limit, period)` tuple**, not one per resource. A project of 50 resources that all use the defaults still ships exactly two rate-limit bindings.
|
|
@@ -191,11 +193,11 @@ Cloudflare bindings are sized at compile time (limit + period are baked in), so
|
|
|
191
193
|
| Runtime | Rate limiting |
|
|
192
194
|
|---------|---------------|
|
|
193
195
|
| `cloudflare` | Backed by Cloudflare's native [Rate Limiting binding](https://developers.cloudflare.com/workers/runtime-apis/bindings/rate-limit/) |
|
|
194
|
-
| `bun` |
|
|
196
|
+
| non-Cloudflare (`bun`, `node`) | Degrades safely — the check no-ops when the binding is absent from `c.env` |
|
|
195
197
|
|
|
196
|
-
|
|
198
|
+
Every generated rate-limit call site — CRUD middleware and custom actions alike — first looks up `c.env.RL_<limit>_<period>` and only calls `.limit({ key })` when the binding is present. On the Cloudflare runtime it always is. On other runtimes it isn't, so the check no-ops and the request proceeds — generated code never hard-depends on the binding.
|
|
197
199
|
|
|
198
|
-
**
|
|
200
|
+
**Roadmap — Bun in-process shim.** An in-memory fixed-window shim (`src/lib/rate-limit-memory.ts`) that backs the same `c.env.RL_*.limit({ key })` call site with a process-memory token bucket is planned but **not yet emitted**. Until it lands, non-Cloudflare deployments that need enforcement should sit behind a Cloudflare WAF rule or an upstream rate limiter. A multi-instance Bun shim would additionally need sticky sessions (same user → same instance → same bucket), since a process-memory counter can't coordinate across processes.
|
|
199
201
|
|
|
200
202
|
## Compile-time validation
|
|
201
203
|
|
|
@@ -144,6 +144,10 @@ npx better-auth generate --config ./src/lib/auth.ts --output ./src/auth/schema.t
|
|
|
144
144
|
&& node scripts/quickback-qualify-auth-schema.mjs
|
|
145
145
|
```
|
|
146
146
|
|
|
147
|
+
The `better-auth` executable comes from the `auth` devDependency in the
|
|
148
|
+
generated `package.json` — that's the Better Auth CLI package (the
|
|
149
|
+
`better-auth` runtime package ships no bin).
|
|
150
|
+
|
|
147
151
|
The qualifier script adjusts the CLI output for Postgres schema placement.
|
|
148
152
|
Don't hand-edit `src/auth/schema.ts` — regenerate it instead.
|
|
149
153
|
|
|
@@ -42,14 +42,18 @@ export default defineTable(applications, {
|
|
|
42
42
|
|
|
43
43
|
When any table has realtime enabled, the compiler generates `src/lib/realtime.ts` with helper functions for sending notifications.
|
|
44
44
|
|
|
45
|
-
At the project level, `providers.database.config.realtime` can stay boolean or become object-shaped when you need
|
|
45
|
+
At the project level, `providers.database.config.realtime` can stay boolean or become object-shaped when you need resource-scoped tickets. The mint gate accepts three authorization vocabularies via the discriminated `access` form — pick exactly one arm:
|
|
46
46
|
|
|
47
47
|
```typescript
|
|
48
48
|
providers: {
|
|
49
49
|
database: defineDatabase("cloudflare-d1", {
|
|
50
50
|
realtime: {
|
|
51
51
|
wsTicket: {
|
|
52
|
-
role: "attendee"
|
|
52
|
+
access: { authzRole: "attendee" }, // authz relationship role (legacy shorthand: role: "attendee")
|
|
53
|
+
// access: { roles: ["member+"] }, // org-membership roles — verifies the org role AND that the
|
|
54
|
+
// // scope row is in the caller's ACTIVE org (org column required)
|
|
55
|
+
// access: { fga: { relation: "viewer", object: "event:{id}" } }, // FGA relation on the scope row —
|
|
56
|
+
// // same evaluator + object template as read-path access:{ fga }
|
|
53
57
|
requestField: "eventId",
|
|
54
58
|
scopeTable: "events",
|
|
55
59
|
},
|
|
@@ -58,7 +62,7 @@ providers: {
|
|
|
58
62
|
}
|
|
59
63
|
```
|
|
60
64
|
|
|
61
|
-
That tells `/broadcast/v1/ws-ticket` to authenticate with Better Auth,
|
|
65
|
+
That tells `/broadcast/v1/ws-ticket` to authenticate with Better Auth, run the declared gate against `body.eventId`, and mint a short-lived ticket scoped to the resolved `events:<id>` lane. See [Realtime → Enabling Realtime](/stack/realtime#enabling-realtime) for the full per-arm semantics; all three forms fail closed at compile time (ambiguous names living in two vocabularies, missing `auth.roleHierarchy` for `+`, missing `authz.fga`, unknown FGA type/relation, missing organization column, non-tenant-scoped `scopeTable`).
|
|
62
66
|
|
|
63
67
|
### Namespace-backed tickets (per-matched-lane)
|
|
64
68
|
|
|
@@ -97,10 +101,11 @@ attendee — their realtime socket now opens.
|
|
|
97
101
|
> only target a room whose resource resolves under the caller's tenant (an org-A
|
|
98
102
|
> admin requesting an org-B `eventId` gets `403`, not a cross-tenant socket). Because
|
|
99
103
|
> the room *is* the data — there is no firewall between a ticket and a Durable
|
|
100
|
-
> Object room — the compiler **rejects at build time** a namespace-backed
|
|
101
|
-
> `wsTicket` whose `scopeTable` has `firewall: { exception: true }` or a
|
|
102
|
-
> (literal-only) firewall with no org/owner/team isolation.
|
|
103
|
-
>
|
|
104
|
+
> Object room — the compiler **rejects at build time** a namespace-backed or
|
|
105
|
+
> FGA-gated `wsTicket` whose `scopeTable` has `firewall: { exception: true }` or a
|
|
106
|
+
> non-tenant (literal-only) firewall with no org/owner/team isolation. (The
|
|
107
|
+
> org-membership form binds by the organization column directly, so it requires
|
|
108
|
+
> that column instead.) Use a tenant-scoped `scopeTable`.
|
|
104
109
|
|
|
105
110
|
|
|
106
111
|
## When auto-broadcast fires (and when you call it manually)
|
|
@@ -42,7 +42,7 @@ The Broadcaster Durable Object runs **inline** in your main Quickback worker —
|
|
|
42
42
|
| Role-based filtering | Only send events to users with matching roles |
|
|
43
43
|
| Per-role masking | Different users see different field values based on their role |
|
|
44
44
|
| User-specific targeting | Send events to a specific user within an org |
|
|
45
|
-
| Resource-scoped tickets |
|
|
45
|
+
| Resource-scoped tickets | Mint scope-bound ws tickets gated by org-membership roles, authz relationship roles, or FGA relations |
|
|
46
46
|
| Custom broadcasts | Arbitrary events beyond CRUD |
|
|
47
47
|
| Custom namespaces | `defineRealtime()` for type-safe event helpers |
|
|
48
48
|
| Ticket-based auth | HMAC-signed tickets verified at WebSocket upgrade — no HTTP round-trip |
|
|
@@ -99,17 +99,20 @@ providers: {
|
|
|
99
99
|
```
|
|
100
100
|
|
|
101
101
|
The object form is the **advanced** variant, only needed when you mint
|
|
102
|
-
resource-scoped tickets
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
102
|
+
resource-scoped tickets (e.g. an external attendee who may join one event's
|
|
103
|
+
channel, or an org member who may join one project's room). The mint gate is
|
|
104
|
+
declared with `wsTicket.access`, a discriminated union — the arm names the
|
|
105
|
+
authorization vocabulary, so a bare name can never silently mean two things:
|
|
106
106
|
|
|
107
107
|
```typescript
|
|
108
108
|
providers: {
|
|
109
109
|
database: defineDatabase("cloudflare-d1", {
|
|
110
110
|
realtime: {
|
|
111
111
|
wsTicket: {
|
|
112
|
-
|
|
112
|
+
// Pick EXACTLY ONE arm:
|
|
113
|
+
access: { roles: ["member+"] }, // org-membership roles (hierarchy expands)
|
|
114
|
+
// access: { authzRole: "attendee" }, // authz relationship role
|
|
115
|
+
// access: { fga: { relation: "viewer", object: "event:{id}" } }, // FGA relation on the scope row
|
|
113
116
|
requestField: "eventId",
|
|
114
117
|
scopeTable: "events",
|
|
115
118
|
},
|
|
@@ -118,7 +121,34 @@ providers: {
|
|
|
118
121
|
}
|
|
119
122
|
```
|
|
120
123
|
|
|
121
|
-
|
|
124
|
+
- **`{ roles }` — org-membership roles.** `"member+"` expands via
|
|
125
|
+
`auth.roleHierarchy` (compile error without it). Firewall-consistent: the
|
|
126
|
+
route verifies the caller's org role **and** that the requested `scopeTable`
|
|
127
|
+
row belongs to the caller's *active* organization — an org-A member cannot
|
|
128
|
+
mint a ticket to org B's room. The scope table must therefore carry an
|
|
129
|
+
organization column (compile error otherwise). UPPERCASE pseudo-roles are
|
|
130
|
+
rejected here: a `PUBLIC`/`AUTHENTICATED` ticket factory would hand signed
|
|
131
|
+
room credentials to callers with no org standing.
|
|
132
|
+
- **`{ authzRole }` — a declared `authz.roles` relationship role** (`{ via }`).
|
|
133
|
+
The route probes the relationship table against `body.eventId`; the ticket
|
|
134
|
+
carries the relationship role (e.g. `attendee`). The legacy
|
|
135
|
+
`role: "attendee"` string is the back-compat shorthand for this arm and
|
|
136
|
+
compiles identically. Org-membership names (`member`/`admin`/`owner`) are
|
|
137
|
+
still rejected in this arm — spell those `access: { roles: [...] }`.
|
|
138
|
+
- **`{ fga }` — an FGA relation.** The route loads the `scopeTable` row through
|
|
139
|
+
its own firewall (tenant bind), derives the object from the template
|
|
140
|
+
(`"event:{id}"` — `{field}` tokens read from the row, the same template
|
|
141
|
+
language as the read path's `access: { fga }`), and requires the caller to
|
|
142
|
+
hold `relation` on it via the same org-scoped check evaluator the read path
|
|
143
|
+
uses. Requires `authz.fga`; the object type and relation are validated
|
|
144
|
+
against the model at compile time.
|
|
145
|
+
|
|
146
|
+
Whichever arm you pick, `/broadcast/v1/ws-ticket` authenticates the caller,
|
|
147
|
+
runs that gate against `body.eventId`, and mints a short-lived ticket scoped to
|
|
148
|
+
the resolved `events:<id>` channel. Everything fails closed at compile time:
|
|
149
|
+
a bare name that exists in more than one vocabulary is an ambiguity error
|
|
150
|
+
demanding the explicit arm, and a missing hierarchy, missing FGA model, or
|
|
151
|
+
missing organization column fails the build with an actionable message.
|
|
122
152
|
|
|
123
153
|
## Pages
|
|
124
154
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quickback-dev/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.51.0",
|
|
4
4
|
"description": "CLI for Quickback — define your backend in TypeScript, compile to a fully wired Cloudflare Worker (or Bun / Node) with auth, database, migrations, security, CMS, and Account UI.",
|
|
5
5
|
"author": "Kardoe Incorporated <paul@kardoe.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -2,6 +2,121 @@
|
|
|
2
2
|
|
|
3
3
|
## Unreleased
|
|
4
4
|
|
|
5
|
+
### Action rate limits now emit — documented since the rate-limit pillar, wired now
|
|
6
|
+
|
|
7
|
+
The [rate-limit docs](/compiler/definitions/rate-limit#actions) have described
|
|
8
|
+
per-action rate limiting since the pillar shipped: record-based actions inherit
|
|
9
|
+
the resource's `update` bucket, standalone actions inherit the project-default
|
|
10
|
+
`update` bucket, and actions may declare a `rateLimit` override or opt out with
|
|
11
|
+
`rateLimit: false`. The generated routes never contained the checks. They now
|
|
12
|
+
do, exactly per the documented contract:
|
|
13
|
+
|
|
14
|
+
- Record-based actions (and their bulk variants, which share the same counter —
|
|
15
|
+
one token per batch request) are keyed
|
|
16
|
+
`<resource>:action:<name>:<user>`; standalone actions are keyed
|
|
17
|
+
`standalone:<declaredPath>:<user>`. The `:action:`/`standalone:` infixes mean
|
|
18
|
+
action counters never collide with CRUD counters.
|
|
19
|
+
- `rateLimit: { limit, period }` on an action emits its own binding
|
|
20
|
+
(deduped by tuple, same `RL_<limit>_<period>` scheme); `rateLimit: false`
|
|
21
|
+
opts the action out entirely.
|
|
22
|
+
- Record-based action routes are now **exempted** from the per-resource CRUD
|
|
23
|
+
catch-all middleware. Previously a `POST /:id/approve` was incidentally
|
|
24
|
+
counted against the resource's `create` bucket — wrong bucket, wrong key.
|
|
25
|
+
- Actions-only (tableless) projects now provision the project-default binding;
|
|
26
|
+
previously they shipped with none.
|
|
27
|
+
|
|
28
|
+
**Behavior change:** standalone actions were previously *unlimited*; they now
|
|
29
|
+
inherit the project-default `update` bucket (200 requests / 60s per user/IP
|
|
30
|
+
with shipped defaults). PUBLIC webhook-style endpoints that absorb provider
|
|
31
|
+
bursts should declare their own budget (`rateLimit: { limit: 1000, period: 10 }`)
|
|
32
|
+
or opt out (`rateLimit: false`). The compiler emits a warning when a PUBLIC
|
|
33
|
+
standalone action silently inherits the default, so affected actions are
|
|
34
|
+
flagged at compile time.
|
|
35
|
+
|
|
36
|
+
### Better Auth CLI pinned and shipped as a generated devDependency
|
|
37
|
+
|
|
38
|
+
The generated `auth:schema` script runs `npx better-auth generate`, but the
|
|
39
|
+
`better-auth` runtime package ships no executable — the `better-auth` bin
|
|
40
|
+
lives in the npm package `auth` (the official Better Auth CLI; the team took
|
|
41
|
+
over that name at 1.5.0, superseding the frozen `@better-auth/cli`). Generated
|
|
42
|
+
projects now declare `auth` as a devDependency pinned to the runtime's minor
|
|
43
|
+
line, so `npm run build` resolves the CLI locally instead of requiring a
|
|
44
|
+
global install. The compiler image's global CLI is pinned to the same version,
|
|
45
|
+
eliminating silent skew between the CLI on `latest` and the pinned runtime.
|
|
46
|
+
|
|
47
|
+
### Compile warning when an action's input schema degrades to untyped
|
|
48
|
+
|
|
49
|
+
When action input schemas aren't harvested client-side (older CLI, or a direct
|
|
50
|
+
`/compile` API call), the static Zod parser supplies OpenAPI/MCP input schemas
|
|
51
|
+
— and silently degrades unrecognized constructs (discriminated unions,
|
|
52
|
+
refinements, `z.record`, transforms) to the accept-anything `{}`. That
|
|
53
|
+
degradation is no longer silent: the compile result now carries a warning per
|
|
54
|
+
affected action naming the route, source file, and the exact untyped field
|
|
55
|
+
paths. Actions covered by the CLI harvest are never warned on, and actions
|
|
56
|
+
that declare no input are skipped.
|
|
57
|
+
|
|
58
|
+
### Auth docs: JWT security posture stated up front
|
|
59
|
+
|
|
60
|
+
The [Auth & JWT page](/compiler/config/auth) now leads with the posture
|
|
61
|
+
summary instead of burying it: the default 180-second auto-refreshed TTL plus
|
|
62
|
+
`revocationCheck: 'kv'` (seconds-level revocation, auto-stamped on ban /
|
|
63
|
+
member removal / role change / scope-conferring row changes) is the
|
|
64
|
+
recommended configuration and covers the vast majority of deployments — with
|
|
65
|
+
the residual trade-offs (per-principal granularity, fail-open on KV outage,
|
|
66
|
+
~60s cross-PoP propagation) stated explicitly for strict threat models.
|
|
67
|
+
|
|
68
|
+
### Neon via-user reads: generated list handlers now typecheck against the concretely-typed service handle
|
|
69
|
+
|
|
70
|
+
On Neon, a read firewall carrying a via-user multi-hop relationship predicate
|
|
71
|
+
routes the generated read handlers to `createServiceDb(c.env)` — a genuine
|
|
72
|
+
`NeonHttpDatabase<typeof schema>` — instead of the loosely-typed request db.
|
|
73
|
+
The list handler's query construction declared drizzle select builders with
|
|
74
|
+
`let` and reassigned them (`query = query.where(…)`, `.orderBy(…)`,
|
|
75
|
+
`.limit(…).offset(…)`, and the count/aggregation/group-by variants), which is
|
|
76
|
+
a type error against drizzle's immutable builder typing: `.where()` returns
|
|
77
|
+
`Omit<PgSelectBase<…>, "where">`, not the declared type. Every affected
|
|
78
|
+
declaration now appends `.$dynamic()`, drizzle's sanctioned mode for
|
|
79
|
+
incremental query building — types only; the emitted SQL is unchanged. Reads
|
|
80
|
+
routed through `c.get('db')` were never affected at runtime (the handler code
|
|
81
|
+
is identical); they simply never surfaced the latent typing defect because the
|
|
82
|
+
request-db handle is not concretely typed. The Neon output `tsc` gate now also
|
|
83
|
+
stages the emitted service-read route files (via-user fixture) with a control
|
|
84
|
+
that re-strips `.$dynamic()` and asserts the failure, so query-builder typing
|
|
85
|
+
regressions in generated route files fail CI.
|
|
86
|
+
|
|
87
|
+
### ws-ticket minting now accepts all three authorization vocabularies
|
|
88
|
+
|
|
89
|
+
`POST /broadcast/v1/ws-ticket` could previously be gated only by an authz
|
|
90
|
+
relationship role (`wsTicket.role`) or a namespace. The mint gate now takes an
|
|
91
|
+
explicit discriminated `access` form — the arm names the vocabulary, so a bare
|
|
92
|
+
name can never silently shadow across vocabularies:
|
|
93
|
+
|
|
94
|
+
- `access: { roles: ["member+"] }` — **org-membership roles**, with
|
|
95
|
+
`auth.roleHierarchy` `+` expansion (compile error without a hierarchy).
|
|
96
|
+
Firewall-consistent: the route verifies the caller's org role **and** that
|
|
97
|
+
the requested `scopeTable` row belongs to the caller's *active* organization
|
|
98
|
+
— an org-A member cannot mint a ticket to org B's room. Requires an
|
|
99
|
+
organization column on the scope table (compile error otherwise). UPPERCASE
|
|
100
|
+
pseudo-roles are rejected: a `PUBLIC`/`AUTHENTICATED` ticket factory would
|
|
101
|
+
hand signed room credentials to callers with no org standing.
|
|
102
|
+
- `access: { authzRole: "attendee" }` — the existing **relationship-role**
|
|
103
|
+
gate, unchanged. The legacy `role: "attendee"` string remains the shorthand
|
|
104
|
+
and compiles byte-identically (regression-pinned against a golden fixture).
|
|
105
|
+
- `access: { fga: { relation: "viewer", object: "event:{id}" } }` — an **FGA
|
|
106
|
+
relation** on the object derived from the tenant-bound scope row. The object
|
|
107
|
+
template is the read path's `access: { fga }` language, and the check runs
|
|
108
|
+
through the same org-scoped evaluator (`ctx.fga.check`) — not a second one.
|
|
109
|
+
The object type and relation are validated against the `authz.fga` model at
|
|
110
|
+
compile time; a non-tenant-scoped `scopeTable` is rejected like the
|
|
111
|
+
namespace path.
|
|
112
|
+
|
|
113
|
+
Everything fails closed at compile time with actionable errors: exactly one
|
|
114
|
+
authorization source (`access` never coexists with `role` or `namespace`),
|
|
115
|
+
exactly one `access` arm, ambiguous names living in two vocabularies, missing
|
|
116
|
+
hierarchy, missing FGA model, and missing organization columns all fail the
|
|
117
|
+
build. See [Realtime](/stack/realtime#enabling-realtime).
|
|
118
|
+
|
|
119
|
+
|
|
5
120
|
### Neon hyperdrive: generated `env.d.ts` now types the `HYPERDRIVE` binding
|
|
6
121
|
|
|
7
122
|
`connectionMode: "hyperdrive"` projects emit a `[[hyperdrive]] binding =
|
|
@@ -24,6 +24,15 @@ Lowest-to-highest privilege list. Lets access rules use `'role+'` shorthand to m
|
|
|
24
24
|
|
|
25
25
|
Quickback ships its own custom HMAC-SHA256 JWT (not Better Auth's JWT plugin) so it can embed `orgId` and `role` claims the fast-path needs to reconstruct `AppContext` without a database round-trip. The signing secret is shared with Better Auth (`BETTER_AUTH_SECRET`) by default — users only manage one secret.
|
|
26
26
|
|
|
27
|
+
### Security posture at a glance
|
|
28
|
+
|
|
29
|
+
The short version, before the knob-by-knob detail:
|
|
30
|
+
|
|
31
|
+
- **Default: 180-second TTL, auto-refreshed.** Every authenticated call returns a fresh token via the `set-auth-token` header, so the low TTL is invisible to logged-in users. The worst-case window for a stolen or pre-revocation token is 3 minutes — and you can shrink it to 30 seconds with one config line.
|
|
32
|
+
- **Need revocation faster than the TTL?** Set [`revocationCheck: 'kv'`](#revocationcheck-none--kv--token-revocation-strategy). Revoked tokens are rejected within seconds; revocation stamps are written automatically on user ban, org-member removal, role change, and changes to scope-conferring relationship rows.
|
|
33
|
+
|
|
34
|
+
Those two knobs — `expiresIn` and `revocationCheck` — cover the vast majority of deployments. The honest residual for the strictest threat models: the KV check revokes per-principal (not per-session), fails open if KV is unreachable (degrading to the TTL bound), and propagates cross-PoP in ~60s. If you need fail-closed, per-session kill semantics, set `expiresIn: 30` for a hard 30-second ceiling — and [tell us about your use case](https://github.com/kardoe/quickback/issues); an opaque-session mode is under consideration.
|
|
35
|
+
|
|
27
36
|
### Behavior recap
|
|
28
37
|
|
|
29
38
|
1. The browser SPA gets a JWT via the `set-auth-token` response header on every authenticated call.
|
|
@@ -32,7 +41,7 @@ Quickback ships its own custom HMAC-SHA256 JWT (not Better Auth's JWT plugin) so
|
|
|
32
41
|
4. If verification fails (or no JWT is present), the middleware falls back to session auth.
|
|
33
42
|
5. After successful session auth, a fresh JWT is minted and returned via `set-auth-token`. The cycle continues.
|
|
34
43
|
|
|
35
|
-
The fast-path is intentionally stateless: it trusts the claims for the full TTL. **Stolen or pre-revocation tokens are valid until they expire.** That's the trade-off the fast-path makes — and the reason `expiresIn`
|
|
44
|
+
The fast-path is intentionally stateless: it trusts the claims for the full TTL. **Stolen or pre-revocation tokens are valid until they expire.** That's the trade-off the fast-path makes — and the reason `expiresIn` and `revocationCheck` are the two most-tuned knobs below: the first bounds the window, the second shrinks it to seconds.
|
|
36
45
|
|
|
37
46
|
### `expiresIn?: number` — TTL in seconds
|
|
38
47
|
|
|
@@ -121,7 +130,7 @@ Adding the `auth.jwt` block without setting any field is a no-op vs. the 0.10.13
|
|
|
121
130
|
- **B2C SaaS, mostly browser traffic:** keep defaults. The 180s TTL + auto-refresh model just works.
|
|
122
131
|
- **Pentest engagement / enterprise compliance:** set `expiresIn: 30`. Tokens stay invisible to logged-in users (auto-refreshed every authed call) but stolen-token windows shrink to 30s.
|
|
123
132
|
- **CLI-heavy / long-running CI tokens:** `expiresIn: 3600` for one-hour bearer tokens. Pair with `issuer` / `audience` if multiple services consume the same JWT.
|
|
124
|
-
- **Need immediate revocation:** set `revocationCheck: 'kv'` (Cloudflare runtime). Or drop TTL to ~30s — similar effect with bounded delay and zero KV reads.
|
|
133
|
+
- **Need immediate revocation:** set `revocationCheck: 'kv'` (Cloudflare runtime) — revoked tokens are rejected within seconds, and stamps are written automatically on user ban, member removal, role change, and scope-conferring row changes (see the [scope revocation notes](/compiler/definitions/scopes#revocation--ttl)). Or drop TTL to ~30s — similar effect with bounded delay and zero KV reads.
|
|
125
134
|
|
|
126
135
|
## `auth.loginUrl` / `auth.profileUrl` — external sign-in for consumer Workers
|
|
127
136
|
|