Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions installation/authentication-setup/supabase-auth.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@ To implement either **Supabase Auth** or **Anonymous Sign-Ins**, enable the rele
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):

<Frame caption="Copy the secret from your Supabase project settings.">
![](/images/authentication/supabase-jwt-secret.png)
<img src="/images/authentication/supabase-jwt-secret.png)" />
</Frame>

<Frame caption="Enable Supabase Auth in your PowerSync instance settings and paste the secret.">
![](/images/authentication/use-supabase-auth.png)
<img src="/images/authentication/use-supabase-auth.png)" />
</Frame>

3. Click **"Save and deploy"** to deploy the updates to your instance.
Expand Down
12 changes: 11 additions & 1 deletion self-hosting/getting-started.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,17 @@ We have five starting points, detailed below:

This video provides a quick introduction to the [PowerSync Open Edition](https://www.powersync.com/blog/powersync-open-edition-release):

<iframe width="100%" height="420" src="https://www.youtube.com/embed/KtExRZqi5Tg?si=0yINI4Vh93PfBhgs" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
<iframe
width="100%"
height="420"
src="https://www.youtube.com/embed/KtExRZqi5Tg?rel=0"
title="YouTube video player"
frameborder="0"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share; fullscreen"
referrerpolicy="strict-origin-when-cross-origin"
allowfullscreen>
</iframe>

## Demo Project (5 minutes)

The quickest way to get a feel for the system is to run our example project on your development machine using Docker Compose. You can find it [here](https://github.com/powersync-ja/self-host-demo):
Expand Down
12 changes: 8 additions & 4 deletions snippets/supabase-database-connection.mdx
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
1. Copy the database connection details from Supabase:<Frame caption="It is important to uncheck this checkbox">
1. Copy the database connection details from Supabase:

<Frame caption="It is important to uncheck this checkbox">
<img src="/images/integration-3.png" />
</Frame>

Expand All @@ -18,9 +20,11 @@

2. Click **"Test Connection"** and fix any errors.

3. Under the **"Client Auth"** tab, enable **"Use Supabase Auth"** and enter your Supabase **JWT Secret**:<Frame caption="PowerSync uses the secret to verify Supabase's JWTs.">
![](/images/authentication/use-supabase-auth.png)
</Frame>
3. Under the **"Client Auth"** tab, enable **"Use Supabase Auth"** and enter your Supabase **JWT Secret**:

<Frame caption="PowerSync uses the secret to verify Supabase's JWTs">
<img src="/images/authentication/use-supabase-auth.png" />
</Frame>

4. Click **"Save and deploy"** to deploy the updates to your instance.

Expand Down
Loading