oidc: remove env var for disabled session/end route
This commit is contained in:
+2
-1
@@ -2015,7 +2015,8 @@ async function getDynamicEnvironmentOidc(app, options) {
|
||||
tmp['CLOUDRON_OIDC_TOKEN_ENDPOINT'] = `https://${dashboardFqdn}/openid/token`;
|
||||
tmp['CLOUDRON_OIDC_KEYS_ENDPOINT'] = `https://${dashboardFqdn}/openid/jwks`;
|
||||
tmp['CLOUDRON_OIDC_PROFILE_ENDPOINT'] = `https://${dashboardFqdn}/openid/me`;
|
||||
tmp['CLOUDRON_OIDC_LOGOUT_URL'] = `https://${dashboardFqdn}/openid/session/env`;
|
||||
// following is only available if rpInitiatedLogout would be enabled https://github.com/panva/node-oidc-provider/blob/main/docs/README.md#featuresrpinitiatedlogout
|
||||
// tmp['CLOUDRON_OIDC_LOGOUT_URL'] = `https://${dashboardFqdn}/openid/session/end`;
|
||||
|
||||
const client = await oidc.clients.get(app.id);
|
||||
tmp['CLOUDRON_OIDC_CLIENT_ID'] = client.id;
|
||||
|
||||
Reference in New Issue
Block a user