Skip to content

Commit

Permalink
Update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
arimet committed Aug 8, 2024
1 parent 77baefa commit 23cdfec
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions packages/ra-supabase/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -235,7 +235,7 @@ In `invite.html` set the `auth-callback` redirection
</html>
```

##### 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
Expand Down Expand Up @@ -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
Expand All @@ -304,7 +304,7 @@ In `recovery.html` set the `auth-callback` redirection
</html>
```

##### 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
Expand Down Expand Up @@ -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`
Expand Down

0 comments on commit 23cdfec

Please sign in to comment.