Auth strategy logout fix.

Ylian Saint-Hilaire committed Oct 17, 2021 at 00:11 UTC 3a981970bf49ad418f5520133c103c9fa6f120de
1 file changed +1
webserver.js
+1
@@ -782,6 +782,7 @@ module.exports.CreateWebServer = function (parent, db, args, certificates) {
782 if (u.startsWith('~azure:') && (domain.authstrategies.azure != null) && (typeof domain.authstrategies.azure.logouturl == 'string')) { res.redirect(domain.authstrategies.azure.logouturl); return; }
783 if (u.startsWith('~jumpcloud:') && (domain.authstrategies.jumpcloud != null) && (typeof domain.authstrategies.jumpcloud.logouturl == 'string')) { res.redirect(domain.authstrategies.jumpcloud.logouturl); return; }
784 if (u.startsWith('~saml:') && (domain.authstrategies.saml != null) && (typeof domain.authstrategies.saml.logouturl == 'string')) { res.redirect(domain.authstrategies.saml.logouturl); return; }
785 + if (u.startsWith('~intel:') && (domain.authstrategies.intel != null) && (typeof domain.authstrategies.intel.logouturl == 'string')) { res.redirect(domain.authstrategies.intel.logouturl); return; }
786 }
787
788 // This is the default logout redirect to the login page