From 9eee7b2582d16914c234c3343a5fc4555f9d81e2 Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Sun, 13 Jul 2025 15:53:46 +0200 Subject: [PATCH] proxyauth: fix client id --- src/proxyauth.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/proxyauth.js b/src/proxyauth.js index 94b2ec7a9..078a70b60 100644 --- a/src/proxyauth.js +++ b/src/proxyauth.js @@ -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) {