PricingBlog

Issue with Magic Link Login Redirection in Supabase Connect

  • mike_ai_engineer-1435939865400180766

    Mike

    3 months ago

    I am writing to you today regarding an issue I am experiencing with the magic link login setup using the Supabase Connect template.

    Currently, I am successfully receiving the authentication emails. However, when I click on the magic link within the email, I am not being redirected to the intended top page. I suspect the wildcard included in the redirect URL might be the cause of this problem.

    I have already verified that the "Site URL" and "Redirect URLs" in the Supabase Dashboard are set up correctly.
    Could you please advise if there are any additional configurations required to resolve this issue?
    Thank you for your time and assistance.

    Below is the link that arrived in the verification email.

    https://XXXXXXXXX.supabase.co/auth/v1/verify?token=XXXXXXXXXXXXXXXXXXXX=magiclink&redirect_to=https://*crm_practice.toddle.site
    1435939865928929321-2025-11-06_7.28.11.png
  • Tod-1435939868411691028

    Tod

    3 months ago

    Great job @Mike! Your contribution to the Nordcraft Community just made you advance to Community Level 1! 🌲
  • erikbeus-1435940441919983656

    Erik Beuschau

    3 months ago

    Not sure if it's an option for you, but could you try renaming your application to something without underscores (_) in the short id? I just opened a support ticket with Supabase this morning, reporting issues with redirect URLs that include underscores.
    We face the same issue internally atm 🤷‍♂️
  • mike_ai_engineer-1435942499603578953

    Mike

    3 months ago

    Removing the underscore from the short ID resolved the redirection issue. Thank you for your help!
  • erikbeus-1435942757444354139

    Erik Beuschau

    3 months ago

    You're welcome 😅 Feel free to submit a support ticket with Supabase as well 🙏 Hopefully, they'll get this fixed soon
    👍1