diff --git a/internal/utils/config.go b/internal/utils/config.go index 6c9d05a6d..9e63eac12 100644 --- a/internal/utils/config.go +++ b/internal/utils/config.go @@ -695,7 +695,7 @@ func LoadConfigFS(fsys afero.Fs) error { if !strings.HasPrefix(strings.ToLower(Config.Auth.Hook.SendEmail.URI), "http") { return errors.New("Invalid HTTP hook config: auth.hook.send_email.uri should be a http or https URL") } - if Config.Auth.Hook.SendSMS.HTTPHookSecrets == "" { + if Config.Auth.Hook.SendEmail.HTTPHookSecrets == "" { return errors.New("Missing required field in config: auth.hook.send_email.secrets") } } diff --git a/internal/utils/misc.go b/internal/utils/misc.go index b3f4912eb..1fe0c2ca0 100644 --- a/internal/utils/misc.go +++ b/internal/utils/misc.go @@ -40,7 +40,7 @@ const ( VectorImage = "timberio/vector:0.28.1-alpine" PgbouncerImage = "bitnami/pgbouncer:1.20.1-debian-11-r39" PgProveImage = "supabase/pg_prove:3.36" - GotrueImage = "supabase/gotrue:v2.147.0" + GotrueImage = "supabase/gotrue:v2.147.1" RealtimeImage = "supabase/realtime:v2.27.5" StorageImage = "supabase/storage-api:v0.46.4" LogflareImage = "supabase/logflare:1.4.0" diff --git a/internal/utils/templates/init_config.toml b/internal/utils/templates/init_config.toml index e430bb88e..5b49781ae 100644 --- a/internal/utils/templates/init_config.toml +++ b/internal/utils/templates/init_config.toml @@ -122,6 +122,7 @@ template = "Your code is {{ `{{ .Code }}` }} ." # Use a custom sms sender [auth.hook.send_sms] # enabled = true +# We use host.docker.internal to connect to port 54321 on the host. See: https://docs.docker.com/desktop/networking/ # uri = "http://host.docker.internal:54321/functions/v1/sms_sender" # Use this secret in the email_sender edge function as well. # secrets = "v1,whsec_c3VwYWJhc2Vpc3Zlcnlhd2Vzb21lYW5kaWxpa2VpdA=="