From b9a10b9f8cb2c7d7cb63847776b6d743bffeb13f Mon Sep 17 00:00:00 2001 From: Anthony Date: Thu, 8 Aug 2024 11:50:12 +0200 Subject: [PATCH] Update packages/ra-supabase/README.md Co-authored-by: Gildas Garcia <1122076+djhi@users.noreply.github.com> --- packages/ra-supabase/README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/ra-supabase/README.md b/packages/ra-supabase/README.md index 8a47fe6..92ab14c 100644 --- a/packages/ra-supabase/README.md +++ b/packages/ra-supabase/README.md @@ -98,7 +98,8 @@ If you want to use the HashRouter, you'll need to modify the code. 1. Create a custom `auth-callback.html` file inside your public folder. This file will intercept the supabase redirect and rewrite the URL to prevent conflicts with the HashRouter. For example, see `packages/demo/public/auth-callback.html`. 2. Remove `BrowserRouter` from your `App.ts` -#### Via Dashboard +#### Configuring an hosted Supabase instance + 3. Go to your Supabase dashboard **Authentication** section 4. In **URL Configuration**, add the following URL in the **Redirect URLs** section: `YOUR_APPLICATION_URL/auth-callback.html` 5. In **Email Templates**, change the `"{{ .ConfirmationURL }}"` to `"{{ .ConfirmationURL }}/auth-callback.html"`