Coder Social home page Coder Social logo

Comments (7)

sonnylazuardi avatar sonnylazuardi commented on July 22, 2024 3

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>```

from headshots-starter.

markbrewster avatar markbrewster commented on July 22, 2024 1

I figured out I need to change the default value 'site URL' here:
image

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?

from headshots-starter.

14790897 avatar 14790897 commented on July 22, 2024 1

I have the same problem

from headshots-starter.

Marfuen avatar Marfuen commented on July 22, 2024

@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

from headshots-starter.

sonnylazuardi avatar sonnylazuardi commented on July 22, 2024

+1 on having the same issue

from headshots-starter.

markbrewster avatar markbrewster commented on July 22, 2024

Amazing, thank you @sonnylazuardi that fixed it for me!

from headshots-starter.

iharshgor avatar iharshgor commented on July 22, 2024

#111 Helped 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>
  • Generated link in email https://headshots-starter-clone-wx9z.vercel.app/auth/confirm?token_hash=a6b755c63a7c18e469499dfd6790775f765ce101f82dee3a98ad05a9&type=email

image

from headshots-starter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.