Skip to content

Commit de72c2c

Browse files
committed
Documentation edits made through Mintlify web editor
1 parent 7ffb09a commit de72c2c

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

installation/authentication-setup/supabase-auth.mdx

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -33,23 +33,23 @@ To implement either **Supabase Auth** or **Anonymous Sign-Ins**, enable the rele
3333

3434
1. In the PowerSync Dashboard, right-click on your instance to edit it.
3535

36-
2. Under the **"Client Auth"** tab, enable **"Use Supabase Auth"** and enter your Supabase **JWT Secret**:
36+
2. Under the **"Client Auth"** tab, enable **"Use Supabase Auth"** and enter your Supabase **JWT Secret** (the secret can be copied from your Supabase project's API Settings):
3737

38-
<Frame caption="PowerSync uses the secret to verify Supabase's JWTs.">
39-
![](/images/authentication/use-supabase-auth.png)
40-
</Frame>
38+
<Frame caption="PowerSync uses the secret to verify Supabase's JWTs.">
39+
![](/images/authentication/use-supabase-auth.png)
40+
</Frame>
4141

42-
3. Click **"Save and deploy"** to deploy the updates to your instance.
42+
1. Click **"Save and deploy"** to deploy the updates to your instance.
4343

4444
### Self-hosted instances:
4545

4646
This can be enabled via your [`config.yaml`](/self-hosting/installation/powersync-service-setup):
4747

4848
```yaml
49-
client\_auth:
50-
&#x20; *# Enable this if using Supabase Auth*
51-
&#x20; supabase: true
52-
&#x20; supabase\_jwt\_secret: your-jwt-secret
49+
client_auth:
50+
# Enable this if using Supabase Auth*
51+
supabase: true
52+
supabase_jwt_secret: your-jwt-secret
5353
```
5454
5555
## Rotating the JWT Secret

0 commit comments

Comments
 (0)