proxyauth: user OpenID instead of basic auth
This commit is contained in:
@@ -544,6 +544,11 @@ async function writeAppLocationNginxConfig(app, location, certificatePath) {
|
||||
};
|
||||
data.ip = app.containerIp;
|
||||
data.port = app.manifest.httpPort;
|
||||
|
||||
if (data.proxyAuth.enabled) {
|
||||
data.proxyAuth.oidcClientId = app.id;
|
||||
data.proxyAuth.oidcEndpoint = (await dashboard.getLocation()).fqdn;
|
||||
}
|
||||
} else if (type === Location.TYPE_SECONDARY) {
|
||||
data.ip = app.containerIp;
|
||||
const secondaryDomain = app.secondaryDomains.find(sd => sd.fqdn === fqdn);
|
||||
|
||||
Reference in New Issue
Block a user