From 2868e27da51749cf9a04a359d32dac2df53d0c4a Mon Sep 17 00:00:00 2001 From: Stojan Dimitrovski Date: Sun, 22 Oct 2023 13:48:42 +0200 Subject: [PATCH] feat: expose issuer in local JWTs (#1598) --- internal/start/start.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/start/start.go b/internal/start/start.go index 6a6b70137..b85df4310 100644 --- a/internal/start/start.go +++ b/internal/start/start.go @@ -393,6 +393,7 @@ EOF "GOTRUE_JWT_DEFAULT_GROUP_NAME=authenticated", fmt.Sprintf("GOTRUE_JWT_EXP=%v", utils.Config.Auth.JwtExpiry), "GOTRUE_JWT_SECRET=" + utils.Config.Auth.JwtSecret, + fmt.Sprintf("GOTRUE_JWT_ISSUER=http://127.0.0.1:%v/auth/v1", utils.Config.Api.Port), fmt.Sprintf("GOTRUE_EXTERNAL_EMAIL_ENABLED=%v", utils.Config.Auth.Email.EnableSignup), fmt.Sprintf("GOTRUE_MAILER_SECURE_EMAIL_CHANGE_ENABLED=%v", utils.Config.Auth.Email.DoubleConfirmChanges),