Open maxchiron opened 11 months ago
@maxchiron Make sure you set the auth url in the Supabase Auth Redirect urls to your domain. It should be in the readme under the Magic Link section
I figured out I need to change the default value 'site URL' here:
However, I do not know what URL to put in there. Putting the app homepage there just leads me in circles. So where should the link go to?
I have the same problem
+1 on having the same issue
Found the solution copy and paste this to email template > magic link after changing the URL
<h2>Magic Link</h2>
<p>Follow this link to login:</p>
<p><a href="{{ .SiteURL }}/auth/confirm?token_hash={{ .TokenHash }}&type=email">Log In</a></p>```
Amazing, thank you @sonnylazuardi that fixed it for me!
I'm getting 404 error using the following template
<h2>Magic Link</h2>
<p>Follow this link to login:</p>
<p><a href="{{ .SiteURL }}/auth/confirm?token_hash={{ .TokenHash }}&type=email">Log In</a></p>
https://headshots-starter-clone-wx9z.vercel.app/auth/confirm?token_hash=a6b755c63a7c18e469499dfd6790775f765ce101f82dee3a98ad05a9&type=email
As the tiltle describing, after the vercel deploying, email magic link redirect to localhost:3000, so it won't work.