marmelab / ra-supabase

Supabase adapter for react-admin, the frontend framework for building admin applications on top of REST/GraphQL services.
MIT License
155 stars 27 forks source link

[Demo] Configure local Supabase instance to support invitation and password reset out of the box #77

Closed slax57 closed 1 month ago

slax57 commented 1 month ago

Problem

The documentation mentions how to customize the supabase emails to include the /auth-callback path in the links it contains. However the demo itself does not apply this configuration, and instead still requires the user to manually copy the link and replace the end of the URL, which is confusing (and no longer necessary).

Solution

Update the supabase local instance config as explained in the README to make it use the /auth-callback, so that it works without requiring a manual replacement.