-
Notifications
You must be signed in to change notification settings - Fork 35
Open
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation
Description
Problem
Currently, the doc for the forgotten password part is only based on the Supabase Dashboard.
However, when developing locally, the sections shown in the dashboard do not exist.
Solution
Improve documentation by adding a modification section via the config.toml
file.
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"]
4. Add an [auth.email.templace.recovery]
section with the following option
[auth.email.template.recovery]
subject = "Reset Password"
content_path = "./supabase/templates/recovery.html"
In Recovery email template set the auth-callback
redirection
<html>
<body>
<h2>Reset Password</h2>
<p><a href="{{ .ConfirmationURL }}/auth-callback">Reset your password</a></p>
</body>
</html>
slax57 and rlirli
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation