Solution skill
Invitation links broken with YOUR_KONG_HOST as the domain
Complete solution
Shows how to fix invitation links broken with YOUR_KONG_HOST as the domain. Use it when you hit this exact problem. Skip it when your error message or symptom looks different.
TL;DR
Set it to your project's external host (your SITEURL) so the links generated in emails use the right domain. [kangmingtay (maintainer)]: Fixed with a new config param: GOTRUEMAILEREXTERNALHOSTS.
Steps
- [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: https://github.com/supabase/auth/issues/1228 (Supabase Auth)
When to use
Use this skill when you run into "Invitation links broken with YOURKONGHOST as the domain".
When not to use
If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.
Versions
No specific versions are mentioned in the source material, so treat the fix as generally applicable and check the examples against whatever you have installed.
Why this happens
The original report does not dig into a root cause. It documents the symptom and the fix that resolved it.
Sources
- YOURKONGHOST
- https://github.com/supabase/auth/issues/1228
Evidence
In gh:supabase/auth#1228, the issue was: Broken invitation links. The invitation/confirmation links in emails come through with 'YOURKONGHOST' 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 2 · Exact version
Reported outcomes
No reported outcomes for this version yet.
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 YOUR_KONG_HOST as the domain <span>— Vectle</span></a>