You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Go lang variables such as {{.SiteUrl}} not being gobally exposed to all email templates #2468
Notification emails does not have access to possibly "global go-lang variables", such as {{ .SiteUrl}} and this causes notification emails to be incomplete or providing the wrong redirect url when we need them on those templates.
So I would kindly suggest that a review on which variables should be exposed globally to all email templates and add them.
To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:
Create an email within the scope [auth.email.template.*]
Create an email template within the scope [auth.email.notification.*]
Add on both emails a logo to be displayed on them - hosted inside for example {{ .SiteUrl }}/logo
The logo (and or redirects that relies on {{ .SiteUrl }} is not added or linked correctly on both templates ([auth.email.template.*] show it correctly but [auth.email.notification.*] don't.
Expected behavior
{{ .SiteUrl }} and other global values should be exposed to all email templates available on Supabase.
Screenshots
[auth.email.template.*] - has access to {{ .SiteUrl }}
[auth.email.notification.*] - does not have access to {{ .SiteUrl }}
System information
OS: Windows
Browser chrome
Version of supabase-js: not using supabasejs, using @supabase/ssr version v0.9.0
Versopn of supabase-cli: 2.84.5 (as indicated by @singh-inder on discord support)
Version of Node.js: 24.1.0
Additional context
I opened this before as a feature request here and it was suggested to me to open the request as a bug.
Activity
fix(mailer): include SiteURL in notification template data (#2532)
cstockton commentedon May 26, 2026
This has been fixed, thanks a lot for raising this issue!