stack: auth email templates with content_path are refused, so a project with custom templates cannot start on the experimental stack
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 54/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- typescript
- Área
- cli
Línea de trabajo
Start with apps/cli/src/command-internal/stack-config.ts around the configValidationError check cited in the issue, then read the closed issue #6803 for the earlier template-serving approach. Trace how the legacy stack serves files through Kong and how each experimental Auth launch is configured. Done means content_path templates are served on both experimental runtimes, or the stack starts with built-in templates and warns as requested.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Affected area
Local development
Supabase CLI version
2.121.0
Operating system
macOS 27.0.1 (Apple silicon)
Installation method
npm
Command
SUPABASE_EXPERIMENTAL_STACK=1 supabase start --runtime native
Actual output
$ SUPABASE_EXPERIMENTAL_STACK=1 supabase start --runtime native
{"_tag":"Error","error":{"code":"ExperimentalStackStartError","message":"auth.email.template.confirmation.content_path requires template serving, which is not supported by the experimental stack"}}
$ SUPABASE_EXPERIMENTAL_STACK=1 supabase start --runtime docker
{"_tag":"Error","error":{"code":"ExperimentalStackStartError","message":"auth.email.template.confirmation.content_path requires template serving, which is not supported by the experimental stack"}}
# with [auth.email.notification.password_changed] content_path set instead
$ SUPABASE_EXPERIMENTAL_STACK=1 supabase start --runtime native
{"_tag":"Error","error":{"code":"ExperimentalStackStartError","message":"auth.email.notification.password_changed.content_path requires template serving, which is not supported by the experimental stack"}}
Expected behavior
Auth templates set with content_path are served on the experimental stack as they are on the legacy stack.
Until that lands, it would help if the stack started with Auth's built-in templates and printed a warning, instead of refusing to start. CI and agent sandboxes that never send real email don't need the custom HTML. Today the only way through is to strip the config.
Steps to reproduce
mkdir repro && cd repro && supabase initmkdir -p supabase/templates && echo '<p>{{ .ConfirmationURL }}</p>' > supabase/templates/confirmation.html- Add to
supabase/config.toml:[auth.email.template.confirmation] subject = "Confirm" content_path = "./supabase/templates/confirmation.html" SUPABASE_EXPERIMENTAL_STACK=1 supabase start --runtime nativefails with the error above.--runtime dockerfails the same way.- Without the
content_pathline, the same command starts.SUPABASE_EXPERIMENTAL_STACK=0 supabase startstarts with it in place.
Crash report ID
No response
Docker and service versions
Docker: Client 29.8.2, Server 29.8.2 (linux/arm64)
supabase/postgres 17.11.0.004
supabase/gotrue v2.197.0
postgrest/postgrest v16.4
supabase/realtime v2.143.4
supabase/storage-api v1.82.1
supabase/edge-runtime v1.77.4
supabase/studio 2026.10.12-sha-3699278
supabase/postgres-meta v0.100.0
supabase/logflare 1.53.0
supabase/supavisor 2.9.13
Additional context
The legacy stack (SUPABASE_EXPERIMENTAL_STACK=0) starts the same project. It serves the file through Kong: Auth gets GOTRUE_MAILER_TEMPLATES_CONFIRMATION=http://supabase_kong_<project>:8088/email/confirmation.html, and fetching that URL from the Auth container returns the template.
Our project sets content_path for all five auth templates (confirmation, recovery, invite, magic_link, email_change), so it cannot start on the experimental stack at all. Our workaround: CI deletes every content_path = line from a throwaway checkout before starting the native runtime. Local development stays on the legacy Docker stack because of this.
In the v2.121.0 tag (97531eb590ccd2c5cf215287ae03e877180810b4), apps/cli/src/command-internal/stack-config.ts:872-877 returns this error from configValidationError whenever Auth is enabled. The same check is on develop and next.
#6803 added template serving through a listener scoped to each Auth launch. It was closed on 2026-09-30 while the approach is reworked. I couldn't find an issue tracking the gap, so this is that issue.
I investigated this with help from an AI coding assistant (Claude Code), which also drafted this text. The results above come from real runs.
- Lenguaje dominante
- TypeScript
- Estrellas
- 2.4k
- Forks
- 537
- Merge medio
- 20 h 14 min
- PR fusionados (30 d)
- 412
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de supabase/cli
-
config push: changing auth.oauth_server.authorization_url_path fails with 400 (enabled and path must be sent together)Posiblemente ocupada @itz-puneet la tomó hace 3 días. Abierto🐛 Bug supabase/cli
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
supabase/cli#7087 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
db schema declarative sync: no way to fail (non-zero exit) when the generated migration is destructiveQuizá libre de nuevo Un pull request para esta issue se cerró sin fusionarse. Abierto✨ Feature supabase/cli
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
Los mantenedores suelen responder en 1 día
-
📘 Docs supabase/cli
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
supabase/cli#6974 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Migration error caret is missing or misplaced when the statement contains multibyte charactersAbierto🐛 Bug supabase/cli
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
Los mantenedores suelen responder en 1 día
-
🐛 Bug supabase/cli
Dificultad 3/5 1-2 días Aptitud para principiantes 68/100
Los mantenedores suelen responder en 1 día
Todos los issues de supabase/cli
Issues similares
-
[BUG] rag: sentence content can cross the reported sentence boundariesPosiblemente ocupada @LJK-ikun la tomó hoy. Abiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
Los mantenedores suelen responder en 1 día
-
bug needs-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
Los mantenedores suelen responder en 1 día
-
README: the Resource URI Schemas example's file://documents/* pattern only matches that literal URIAbierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
platformatic/mcp#361 ·
Los mantenedores suelen responder en 1 día
-
frontend
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
Push: sem service worker ou sem VAPID, o interruptor de Notificações fica ligado sem avisar nadaAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
melgarafael/DeskcommCRM#3164 ·
Los mantenedores suelen responder en 1 día