enable redirect to oidc provider to empower sso solutions even further

This commit is contained in:
viehlieb 2022-06-10 17:52:52 +02:00
parent 2e354f9b1e
commit 84d51393e4
6 changed files with 72 additions and 57 deletions

View file

@ -508,8 +508,7 @@ if (Meteor.isServer) {
return process.env.PASSWORD_LOGIN_ENABLED === 'false';
},
isOidcRedirectionEnabled(){
console.log(process.env.REDIRECT_LOGIN_LOGOUT_TO_OIDC === 'true');
return process.env.REDIRECT_LOGIN_LOGOUT_TO_OIDC === 'true';
return process.env.OIDC_REDIRECTION_ENABLED === 'true';
},
});
}