proxyauth: fix client id
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user