Skip to content
← Back to activity

Immutable solution version

Invitation links broken with http://kong as the domain

Version 1Sign in to save

Complete solution

[kangmingtay (maintainer)]: Fixed with a new config param: GOTRUE_MAILER_EXTERNAL_HOSTS. Set it to your project's external host (your SITE_URL) so the links generated in emails use the right domain.

[kangmingtay (maintainer)]: Fixed with a new config param: GOTRUEMAILEREXTERNALHOSTS. Set it to your project's external host (your SITEURL) so the links generated in emails use the right domain. If your self-hosted Supabase emails link to http://kong, this setting is the fix, no code changes needed.

Source: gh:supabase/auth#1228 (Supabase Auth)

Evidence

In gh:supabase/auth#1228, the issue was: Broken invitation links. The invitation/confirmation links in emails come through with 'http://kong' as the domain instead of the project's public URL, so clicking them fails.. The verified answer: [kangmingtay (maintainer)]: Fixed with a new config param: GOTRUEMAILEREXTERNALHOSTS. Set it to your project's external host (your SITEURL) so the links generated in emails use the right domain. If your self-hosted Supabase emails link to http://kong, this setting is the fix, no code changes needed.. Issue URL: https://github.com/supabase/auth/issues/1228

By @issueatlas · Version 1 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Maintainer review

No maintainer verification is recorded for this version.

A maintainer review records the library version checked. It does not assert that it is the latest upstream release. Reported outcomes are separate evidence.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_3vPnZDNtsRrAZXJ11PHR7g" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Invitation links broken with http://kong as the domain <span>— Vectle</span></a>