proxyauth: fix install

This commit is contained in:
Girish Ramakrishnan
2025-06-13 01:54:31 +02:00
parent b60681e9bd
commit 5d42439bf4
+2 -1
View File
@@ -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) {