diff options
author | Vijay Raghavan Aravamudhan <vraravam@users.noreply.github.com> | 2021-09-08 23:00:36 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-08 23:00:36 +0530 |
commit | 1e6263d1af1de9059071456d743d126a8aebc0e9 (patch) | |
tree | 4512c804eb650e6eab7ecbdbe8eedfc2f737f7ce /recipes/msteams/index.js | |
parent | refactor: use the exposed methods for session handling from the main repo (diff) | |
download | ferdium-recipes-1e6263d1af1de9059071456d743d126a8aebc0e9.tar.gz ferdium-recipes-1e6263d1af1de9059071456d743d126a8aebc0e9.tar.zst ferdium-recipes-1e6263d1af1de9059071456d743d126a8aebc0e9.zip |
Expose 'known certificate hosts' in ms teams and outlook to try to fix certificate expiry issue (#675)
Diffstat (limited to 'recipes/msteams/index.js')
-rw-r--r-- | recipes/msteams/index.js | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/recipes/msteams/index.js b/recipes/msteams/index.js index d1bd721..e04254f 100644 --- a/recipes/msteams/index.js +++ b/recipes/msteams/index.js | |||
@@ -2,4 +2,30 @@ module.exports = Ferdi => class MicrosoftTeams extends Ferdi { | |||
2 | overrideUserAgent() { | 2 | overrideUserAgent() { |
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 | |||
6 | // https://docs.microsoft.com/en-us/microsoftteams/troubleshoot/teams-sign-in/sign-in-loop#resolution | ||
7 | // https://docs.microsoft.com/en-us/microsoft-365/enterprise/urls-and-ip-address-ranges?view=o365-worldwide#skype-for-business-online-and-microsoft-teams | ||
8 | knownCertificateHosts() { | ||
9 | return [ | ||
10 | 'aka.ms', | ||
11 | 'aspnetcdn.com', | ||
12 | 'azure.net', | ||
13 | 'azureedge.net', | ||
14 | 'live.com', | ||
15 | 'microsoft.com', | ||
16 | 'microsoftonline.com', | ||
17 | 'msecnd.net', | ||
18 | 'msedge.net', | ||
19 | 'mstea.ms', | ||
20 | 'office.net', | ||
21 | 'okta.com', | ||
22 | 'sfbassets.com', | ||
23 | 'skype.com', | ||
24 | 'skypeassets.com', | ||
25 | 'skypeforbusiness.com', | ||
26 | 'tenor.com', | ||
27 | 'windows.com', | ||
28 | 'windows.net', | ||
29 | ]; | ||
30 | }; | ||
5 | }; | 31 | }; |