aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/msteams/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/msteams/index.js')
-rw-r--r--recipes/msteams/index.js23
1 files changed, 12 insertions, 11 deletions
diff --git a/recipes/msteams/index.js b/recipes/msteams/index.js
index 5af7b5f..941db72 100644
--- a/recipes/msteams/index.js
+++ b/recipes/msteams/index.js
@@ -3,15 +3,16 @@ module.exports = Ferdi => class MicrosoftTeams extends Ferdi {
3 return window.navigator.userAgent.replace(/(Ferdi|Electron)\/\S+ \([^)]+\)/g, '').trim(); 3 return window.navigator.userAgent.replace(/(Ferdi|Electron)\/\S+ \([^)]+\)/g, '').trim();
4 } 4 }
5 5
6 // https://docs.microsoft.com/en-us/microsoftteams/troubleshoot/teams-sign-in/sign-in-loop#resolution 6 // TODO: Commenting out since this can expose the user to a MITM attack. Before this can be turned on, we will need to put in some safeguards/warnings that the user can explicitly accept the security ramifications
7 knownCertificateHosts() { 7 // // https://docs.microsoft.com/en-us/microsoftteams/troubleshoot/teams-sign-in/sign-in-loop#resolution
8 return [ 8 // knownCertificateHosts() {
9 'microsoft.com', 9 // return [
10 'microsoftonline.com', 10 // 'microsoft.com',
11 'teams.skype.com', 11 // 'microsoftonline.com',
12 'teams.microsoft.com', 12 // 'teams.skype.com',
13 'sfbassets.com', 13 // 'teams.microsoft.com',
14 'skypeforbusiness.com', 14 // 'sfbassets.com',
15 ]; 15 // 'skypeforbusiness.com',
16 }; 16 // ];
17 // };
17}; 18};