From 6d5774cd90a0f9f2df61b7e7842d4fd42b792dc1 Mon Sep 17 00:00:00 2001 From: Sebastian Hugentobler Date: Mon, 23 Aug 2021 19:02:34 +0200 Subject: [PATCH] template lua script --- rootfs/etc/confd/templates/oauth2-userdb.lua.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rootfs/etc/confd/templates/oauth2-userdb.lua.tmpl b/rootfs/etc/confd/templates/oauth2-userdb.lua.tmpl index 8c843c2..94bdee4 100644 --- a/rootfs/etc/confd/templates/oauth2-userdb.lua.tmpl +++ b/rootfs/etc/confd/templates/oauth2-userdb.lua.tmpl @@ -5,7 +5,7 @@ local clientSecret = {{ getenv "CLIENT_SECRET" }} local username = {{ getenv "OAUTH_ADMIN_USER" }} local password = {{ getenv "OAUTH_ADMIN_PASSWORD" }} local tokenUrl = {{ getenv "GRANT_URL" }} -local userUrl = {{ "USER_URL" }} +local userUrl = {{ getenv "USER_URL" }} function os.capture(cmd, raw) local f = assert(io.popen(cmd, 'r'))