You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/api/index.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,7 +23,7 @@ Send your site password in the `Authorization` header:
23
23
Authorization: Bearer YOUR_SITE_TOKEN
24
24
```
25
25
26
-
(`Bearer` means “here is the token”.) It must match `NUXT_SITE_TOKEN` exactly (at least 8 characters). Browsers can also authenticate with a verified Cloudflare Access login or a configured OpenID Connect session. OIDC access and ID tokens remain on the server and are never stored by the browser.
26
+
(`Bearer` means “here is the token”.) It must match `NUXT_SITE_TOKEN` exactly (at least 8 characters). With [Cloudflare Access](/configuration/cloudflare-access) enabled, browsers can also authenticate with a verified Access login.
|`NUXT_OIDC_SESSION_SECRET`| Runtime (secret) | Encrypted secret on Workers or Pages | Random value of at least 32 characters for signed sessions |
63
-
|`NUXT_OIDC_SESSION_TTL_SECONDS`| Runtime | Worker/Pages variable | Local session limit; defaults to `28800`|
64
-
|`DEPLOY_D1_DATABASE_ID`| Build | Workers Builds or Pages variables | D1 database ID (from the D1 detail page) |
65
-
|`DEPLOY_KV_NAMESPACE_ID`| Build | Workers Builds or Pages variables | KV namespace ID (from the KV detail page) |
66
-
67
-
### User ownership
68
-
69
-
Each verified OpenID Connect or Cloudflare Access identity gets an isolated set of links, tags, and analytics. Sink uses the provider's stable subject identifier as the owner ID. The site token remains the `root` identity and owns links created through token-authenticated API requests, including existing links upgraded from an earlier release.
70
-
71
-
Short-link slugs remain globally unique because every public redirect shares the same hostname. A user therefore receives a conflict when another user already owns the requested slug, without gaining access to that link.
0 commit comments