mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 15:30:13 +01:00
wip redirect on landing page and logout to oidc provider
This commit is contained in:
parent
b97c51abde
commit
2e354f9b1e
7 changed files with 92 additions and 15 deletions
|
|
@ -494,6 +494,12 @@ if (Meteor.isServer) {
|
|||
};
|
||||
},
|
||||
|
||||
getOauthServerUrl(){
|
||||
return process.env.OAUTH2_SERVER_URL;
|
||||
},
|
||||
getOauthDashboardUrl(){
|
||||
return process.env.DASHBOARD_URL;
|
||||
},
|
||||
getDefaultAuthenticationMethod() {
|
||||
return process.env.DEFAULT_AUTHENTICATION_METHOD;
|
||||
},
|
||||
|
|
@ -501,6 +507,10 @@ if (Meteor.isServer) {
|
|||
isPasswordLoginDisabled() {
|
||||
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';
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue