Added some CAS and SAML settings. Not tested. Please test and send pull requests if it does not work.

See https://github.com/wekan/wekan/wiki/SAML and https://github.com/wekan/wekan/wiki/CAS

Thanks to xet7 !

Related #3204,
related #708
This commit is contained in:
Lauri Ojansivu 2020-09-14 19:57:50 +03:00
parent e0192f570e
commit 214c86cc22
15 changed files with 325 additions and 7 deletions

View file

@ -169,6 +169,19 @@ async function authentication(event, templateInstance) {
});
});
case 'saml':
return new Promise(resolve => {
const provider = Meteor.settings.public.SAML_PROVIDER;
Meteor.loginWithSaml(
{
provider,
},
function() {
resolve(FlowRouter.go('/'));
},
);
});
case 'cas':
return new Promise(resolve => {
Meteor.loginWithCas(match, password, function() {