@@ -101,7 +101,7 @@ If the extension is installed correctly, PostgreSQL returns the CloudSync versio
101101 ` ` `
102102 postgresql://user:password@host:5432/database
103103 ` ` `
104- 5 . Click **Create**
104+ 4 . Click **Create**
105105
106106---
107107
@@ -111,7 +111,7 @@ If the extension is installed correctly, PostgreSQL returns the CloudSync versio
111111
112112The fastest way to test CloudSync without per-user access control — no JWT setup needed.
113113
114- 1. Get your PostgreSQL database credentials (username and password)
114+ 1. Get PostgreSQL credentials for a user with sufficient permissions on the tables CloudSync will sync
1151152. In your client code (SQLite), authenticate with :
116116 ` ` ` sql
117117 SELECT cloudsync_network_init('<database-id>');
@@ -131,7 +131,8 @@ If you need role-based access control (RLS) or production security:
1311312. **Configure JWT in the CloudSync dashboard:**
132132 - Go to **Configuration** tab → **Edit connection settings**
133133 - **For HS256:** Enter your **JWT secret** (from `.env`)
134- - **For RS256/JWKS:** Enter your **JWT allowed issuers** URL
134+ - **For RS256/JWKS:** Enter the same issuer base URL used in the token's `iss` claim, for example `https://your-auth-domain`
135+ - Do not include `/.well-known/jwks.json` in this field. CloudSync uses the issuer URL and fetches the JWKS document automatically.
135136 - Click **Save**
1361373. **Generate JWT tokens:**
137138 - Use [Supabase's built-in authentication](https://supabase.com/docs/guides/auth/jwts) to generate tokens
@@ -148,6 +149,6 @@ If you need role-based access control (RLS) or production security:
148149
1491501. In the CloudSync dashboard, go to the **Tables** tab
1501512. **Select tables** you want to sync (checkbox each table)
151- 4 . Click **Deploy Changes**
152+ 3 . Click **Deploy Changes**
152153
153154CloudSync is now active on your selected tables.
0 commit comments