proxyauth: fix client id

This commit is contained in:
Girish Ramakrishnan
2025-07-13 15:53:46 +02:00
parent bf8a5e6a11
commit 9eee7b2582

View File

@@ -142,7 +142,8 @@ async function login(req, res, next) {
});
}
res.redirect(302, `https://${dashboardFqdn}/openid/auth?client_id=${appId}&scope=openid profile email&response_type=code&redirect_uri=https://${app.fqdn}/callback`);
const proxyAuthClientId = `${app.id}-proxyauth`;
res.redirect(302, `https://${dashboardFqdn}/openid/auth?client_id=${proxyAuthClientId}&scope=openid profile email&response_type=code&redirect_uri=https://${app.fqdn}/callback`);
}
async function callback(req, res, next) {