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: 4 additions & 0 deletions installation/authentication-setup/supabase-auth.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ You can implement various types of auth:
* [Example](https://github.com/powersync-ja/powersync-jwks-example/)
* Experimental: We've also heard from the community that Supabase's newly released [support for external auth providers works](https://supabase.com/blog/third-party-auth-mfa-phone-send-hooks), but we don't have any examples for this yet.

<Note>
The "Supabase Auth" setting no longer works for Supabase projects created after 25 November 2024. While we are working with Supabase on a fix, please apply this workaround: https://releases.powersync.com/announcements/important-notice-for-supabase-users-using-supabase-jwts
</Note>

To implement either Supabase Auth or Anonymous Sign-Ins, enable the "Use Supabase Auth" setting on the PowerSync instance. (This is also [covered in the Supabase & PowerSync integration guide](/integration-guides/supabase-+-powersync#configuring-powersync))

Internally, Supabase auth signs the token using HS256, using a secret available as `current_setting('app.settings.jwt_secret')` on the database.
Expand Down
4 changes: 4 additions & 0 deletions installation/database-connection.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ Select your Postgres hosting provider for steps to connect your Postgres databas
2. Under the **"Client Auth"** tab, enable **"Use Supabase Auth".**
3. Click **"Save".**

<Note>
The "Supabase Auth" setting no longer works for Supabase projects created after 25 November 2024. While we are working with Supabase on a fix, please apply this workaround: https://releases.powersync.com/announcements/important-notice-for-supabase-users-using-supabase-jwts
</Note>

PowerSync deploys and configures an isolated cloud environment for you, which can take a few minutes to complete.

### Troubleshooting
Expand Down
4 changes: 4 additions & 0 deletions integration-guides/flutterflow-+-powersync.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,10 @@ It is important to uncheck this checkbox
2. Under the **"Client Auth"** tab, enable **"Use Supabase Auth".**
3. Click **"Save".**

<Note>
The "Supabase Auth" setting no longer works for Supabase projects created after 25 November 2024. While we are working with Supabase on a fix, please apply this workaround: https://releases.powersync.com/announcements/important-notice-for-supabase-users-using-supabase-jwts
</Note>

PowerSync deploys and configures an isolated cloud environment for you, which will take a few minutes to complete.

### Configure Sync Rules
Expand Down
4 changes: 4 additions & 0 deletions integration-guides/supabase-+-powersync.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,10 @@ It is important to uncheck this checkbox
</Frame>
8. Click **"Save".**

<Note>
The "Supabase Auth" setting no longer works for Supabase projects created after 25 November 2024. While we are working with Supabase on a fix, please apply this workaround: https://releases.powersync.com/announcements/important-notice-for-supabase-users-using-supabase-jwts
</Note>

PowerSync deploys and configures an isolated cloud environment for you, which will take a few minutes to complete.

### Configure Sync Rules
Expand Down