From 23cdfec37fe600ddd7cb7b48103ecf1b5f1734a0 Mon Sep 17 00:00:00 2001 From: Anthony Rimet Date: Thu, 8 Aug 2024 11:52:53 +0200 Subject: [PATCH] Update documentation --- packages/ra-supabase/README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/ra-supabase/README.md b/packages/ra-supabase/README.md index 2263dd1..637b284 100644 --- a/packages/ra-supabase/README.md +++ b/packages/ra-supabase/README.md @@ -210,7 +210,7 @@ export const MyAdmin = () => ( This requires you to configure your supabase instance: -##### Via config.toml +##### Configuring a local Supabase instance 1. Go to your `config.toml` file 2. In `[auth]` section set `site_url` to your application URL @@ -235,7 +235,7 @@ In `invite.html` set the `auth-callback` redirection ``` -##### Via Dashboard +#### Configuring an hosted Supabase instance 1. Go to your dashboard **Authentication** section 1. In **URL Configuration**, set **Site URL** to your application URL @@ -280,7 +280,7 @@ If users forgot their password, they can request for a reset if you add the `/fo This requires you to configure your supabase instance: -##### Via config.toml +##### Configuring a local Supabase instance 1. Go to your `config.toml` file 2. In `[auth]` section set `site_url` to your application URL @@ -304,7 +304,7 @@ In `recovery.html` set the `auth-callback` redirection ``` -##### Via Dashboard +#### Configuring an hosted Supabase instance 1. Go to your dashboard **Authentication** section 1. In **URL Configuration**, set **Site URL** to your application URL @@ -378,12 +378,12 @@ Make sure you enabled the specified providers in your Supabase instance: This also requires you to configure the redirect URLS on your supabase instance: -##### Via config.toml +##### Configuring a local Supabase instance 1. Go to your `config.toml` file 2. In `[auth]` section set `site_url` to your application URL 3. In `[auth]`, add the following URL in the `additional_redirect_urls = [{APPLICATION_URL}}/auth-callback"]` -##### Via Dashboard +#### Configuring an hosted Supabase instance 1. Go to your dashboard **Authentication** section 1. In **URL Configuration**, set **Site URL** to your application URL 1. In **URL Configuration**, add the following URL in the **Redirect URLs** section: `YOUR_APPLICATION_URL/auth-callback`