Skip to content

fix: prepend mailer_urlpaths with JwtIssuer#5164

Closed
singh-inder wants to merge 2 commits intosupabase:developfrom
singh-inder:patch-1
Closed

fix: prepend mailer_urlpaths with JwtIssuer#5164
singh-inder wants to merge 2 commits intosupabase:developfrom
singh-inder:patch-1

Conversation

@singh-inder
Copy link
Copy Markdown
Contributor

What kind of change does this PR introduce?

Bug fix #5163

What is the new behavior?

prepend GOTRUE_MAILER_URLPATHS_<flow> env with Auth.JwtIssuer url. Safe to use full url in path env as supabase auth constructs the final email link using externalURL.ResolveReference(path).String() for all mailer paths https://github.com/supabase/auth/blob/be317c1a37aba9bc7d0c6664f476f446bfecb942/internal/mailer/templatemailer/templatemailer.go#L365

@singh-inder singh-inder requested a review from a team as a code owner May 4, 2026 21:50
Copy link
Copy Markdown
Contributor

@7ttp 7ttp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

closing in favour of: #5166

thanks for ur efforts towards contributing to Supabase 💚😅

@7ttp 7ttp closed this May 5, 2026
@singh-inder singh-inder deleted the patch-1 branch May 5, 2026 11:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Magic-link action_link drops /auth/v1 prefix after #5092 (admin.generateLink returns 404)

2 participants