From 5d42439bf48251bbdb323feee1e44e5dc2b033ec Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Fri, 13 Jun 2025 01:54:31 +0200 Subject: [PATCH] proxyauth: fix install --- src/services.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/services.js b/src/services.js index a24117a4a..42e46154f 100644 --- a/src/services.js +++ b/src/services.js @@ -1828,6 +1828,7 @@ async function setupProxyAuth(app, options) { // ensure we keep the secret const data = { + id: app.id, secret: result ? result.secret : hat(4 * 128), loginRedirectUri: `https://${app.fqdn}/callback`, logoutRedirectUri: '', @@ -1837,7 +1838,7 @@ async function setupProxyAuth(app, options) { }; if (result) await oidcClients.update(app.id, data); - else await oidcClients.add(app.id, data); + else await oidcClients.add(data); } async function teardownProxyAuth(app, options) {