René's URL Explorer Experiment


Title: Authentication

Open Graph Title: Authentication

X Title: Authentication

direct link

Domain: zerosync.dev

IPv4 address: 76.76.21.61

og:imagehttps://zero.rocicorp.dev/api/og?title=Authentication&subtitle=
twitter:cardsummary_large_image
twitter:imagehttps://zero.rocicorp.dev/api/og?title=Authentication&subtitle=

Links:

llms.txthttps://zero.rocicorp.dev/llms.txt
v1https://zerosync.dev/
Introductionhttps://zerosync.dev/docs/introduction
Installhttps://zerosync.dev/docs/install
Tutorialhttps://zerosync.dev/docs/tutorial
Quickstartshttps://zerosync.dev/docs/quickstart
Sampleshttps://zerosync.dev/docs/samples
What is Sync?https://zerosync.dev/docs/sync
When to Usehttps://zerosync.dev/docs/when-to-use
Statushttps://zerosync.dev/docs/status
Schemahttps://zerosync.dev/docs/schema
Authenticationhttps://zerosync.dev/docs/auth
Reading Datahttps://zerosync.dev/docs/queries
Writing Datahttps://zerosync.dev/docs/mutators
ZQL Referencehttps://zerosync.dev/docs/zql
ZQL on the Serverhttps://zerosync.dev/docs/server-zql
Connection Statushttps://zerosync.dev/docs/connection
REST APIshttps://zerosync.dev/docs/rest
API Referencehttps://npmx.dev/package-docs/@rocicorp/zero/v/1.11.0#class-Zero
Provider Supporthttps://zerosync.dev/docs/connecting-to-postgres
Feature Compatibilityhttps://zerosync.dev/docs/postgres-support
Reacthttps://zerosync.dev/docs/react
SolidJShttps://zerosync.dev/docs/solidjs
React Nativehttps://zerosync.dev/docs/react-native
Communityhttps://zerosync.dev/docs/community
Cloud Zerohttps://zerosync.dev/docs/cloud-zero
Previewshttps://zerosync.dev/docs/previews
Inspectorhttps://zerosync.dev/docs/debug/inspector
Analyze Query CLIhttps://zerosync.dev/docs/debug/analyze-query-cli
Slow Querieshttps://zerosync.dev/docs/debug/slow-queries
Replicationhttps://zerosync.dev/docs/debug/replication
Query ASTshttps://zerosync.dev/docs/debug/query-asts
zero-outhttps://zerosync.dev/docs/debug/zero-out
Ad-Hoc Querieshttps://zerosync.dev/docs/deprecated/ad-hoc-queries
CRUD Mutatorshttps://zerosync.dev/docs/deprecated/crud-mutators
RLS Permissionshttps://zerosync.dev/docs/deprecated/rls-permissions
Release Noteshttps://zerosync.dev/docs/release-notes
Reporting Bugshttps://zerosync.dev/docs/reporting-bugs
Open Sourcehttps://zerosync.dev/docs/open-source
Agentshttps://zerosync.dev/docs/agents
Rocicorphttps://rocicorp.dev
https://github.com/rocicorp/mono#zero
https://discord.rocicorp.dev
https://bsky.app/profile/zero.rocicorp.dev
https://x.com/zero__ms
Set userID on Clienthttps://zerosync.dev/docs/auth#set-userid-on-client
🧑‍🏫Users that have share computers have access to each others' datahttps://zerosync.dev/docs/auth#user-id-is-not-a-security-boundary
Define the Context Typehttps://zerosync.dev/docs/auth#define-the-context-type
querieshttps://zerosync.dev/docs/queries
mutatorshttps://zerosync.dev/docs/mutators
Send Credentialshttps://zerosync.dev/docs/auth#send-credentials
Cookieshttps://zerosync.dev/docs/auth#cookies
ZERO_QUERY_FORWARD_COOKIEShttps://zerosync.dev/docs/zero-cache-config#query-forward-cookies
ZERO_MUTATE_FORWARD_COOKIEShttps://zerosync.dev/docs/zero-cache-config#mutate-forward-cookies
mutatorshttps://zerosync.dev/docs/mutators
querieshttps://zerosync.dev/docs/queries
Cookie Deploymenthttps://zerosync.dev/docs/auth#cookie-deployment
crossSubDomainCookieshttps://www.better-auth.com/docs/concepts/cookies#cross-subdomain-cookies
⚠️Never use SameSite=None for auth cookieshttps://zerosync.dev/docs/auth#samesite-none-warning
Cross-Site WebSocket Hijacking (CSWSH)https://christian-schneider.net/CrossSiteWebSocketHijacking.html
Tokenshttps://zerosync.dev/docs/auth#tokens
mutatorshttps://zerosync.dev/docs/mutators
querieshttps://zerosync.dev/docs/queries
Implement API Endpointshttps://zerosync.dev/docs/auth#implement-api-endpoints
queryhttps://zerosync.dev/docs/queries#server-setup
mutatorhttps://zerosync.dev/docs/mutators#server-setup
Queryhttps://zerosync.dev/docs/auth#query
Mutatehttps://zerosync.dev/docs/auth#mutate
🤔Why pass `userID` to `handleMutateRequest` and `handleQueryRequest`?https://zerosync.dev/docs/auth#authenticated-client-groups
ZERO_AUTH_REQUIRE_SERVER_USER_IDhttps://zerosync.dev/docs/zero-cache-config#auth-require-server-user-id
Updating Tokenshttps://zerosync.dev/docs/auth#updating-tokens
Auth Failure and Refreshhttps://zerosync.dev/docs/auth#auth-failure-and-refresh
querieshttps://zerosync.dev/docs/queries
mutatorshttps://zerosync.dev/docs/mutators
connection statushttps://zerosync.dev/docs/connection
Permission Patternshttps://zerosync.dev/docs/auth#permission-patterns
RLShttps://supabase.com/docs/guides/database/postgres/row-level-security
querieshttps://zerosync.dev/docs/queries
mutatorshttps://zerosync.dev/docs/mutators
Contexthttps://zerosync.dev/docs/auth#context
Read Permissionshttps://zerosync.dev/docs/auth#read-permissions
Only Owned Rowshttps://zerosync.dev/docs/auth#only-owned-rows
Owned or Shared Rowshttps://zerosync.dev/docs/auth#owned-or-shared-rows
Owned Rows or All if Adminhttps://zerosync.dev/docs/auth#owned-rows-or-all-if-admin
Deny by Returning No Rowshttps://zerosync.dev/docs/auth#deny-by-returning-no-rows
Write Permissionshttps://zerosync.dev/docs/auth#write-permissions
Enforce Ownershiphttps://zerosync.dev/docs/auth#enforce-ownership
Edit Owned Rowshttps://zerosync.dev/docs/auth#edit-owned-rows
Edit Owned or Shared Rowshttps://zerosync.dev/docs/auth#edit-owned-or-shared-rows
Edit Owned or All if Adminhttps://zerosync.dev/docs/auth#edit-owned-or-all-if-admin
Logging Outhttps://zerosync.dev/docs/auth#logging-out
PreviousSchemahttps://zerosync.dev/docs/schema
NextReading Datahttps://zerosync.dev/docs/queries
Set userID on Clienthttps://zerosync.dev/docs/auth#set-userid-on-client
Define the Context Typehttps://zerosync.dev/docs/auth#define-the-context-type
Send Credentialshttps://zerosync.dev/docs/auth#send-credentials
Cookieshttps://zerosync.dev/docs/auth#cookies
Cookie Deploymenthttps://zerosync.dev/docs/auth#cookie-deployment
Tokenshttps://zerosync.dev/docs/auth#tokens
Implement API Endpointshttps://zerosync.dev/docs/auth#implement-api-endpoints
Queryhttps://zerosync.dev/docs/auth#query
Mutatehttps://zerosync.dev/docs/auth#mutate
Updating Tokenshttps://zerosync.dev/docs/auth#updating-tokens
Auth Failure and Refreshhttps://zerosync.dev/docs/auth#auth-failure-and-refresh
Permission Patternshttps://zerosync.dev/docs/auth#permission-patterns
Read Permissionshttps://zerosync.dev/docs/auth#read-permissions
Only Owned Rowshttps://zerosync.dev/docs/auth#only-owned-rows
Owned or Shared Rowshttps://zerosync.dev/docs/auth#owned-or-shared-rows
Owned Rows or All if Adminhttps://zerosync.dev/docs/auth#owned-rows-or-all-if-admin
Deny by Returning No Rowshttps://zerosync.dev/docs/auth#deny-by-returning-no-rows
Write Permissionshttps://zerosync.dev/docs/auth#write-permissions
Enforce Ownershiphttps://zerosync.dev/docs/auth#enforce-ownership
Edit Owned Rowshttps://zerosync.dev/docs/auth#edit-owned-rows
Edit Owned or Shared Rowshttps://zerosync.dev/docs/auth#edit-owned-or-shared-rows
Edit Owned or All if Adminhttps://zerosync.dev/docs/auth#edit-owned-or-all-if-admin
Logging Outhttps://zerosync.dev/docs/auth#logging-out
Edit this page on GitHubhttps://github.com/rocicorp/zero-docs/blob/main/contents/docs/auth.mdx

Response headers:
ServerVercel
Content-Typetext/html; charset=utf-8
X-Powered-ByNext.js
Cache-Controlpublic, max-age=0, must-revalidate

Viewport: width=device-width, initial-scale=1


URLs of crawlers that visited me.