aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/office365-owa/index.js
diff options
context:
space:
mode:
authorLibravatar Vijay Raghavan Aravamudhan <vraravam@users.noreply.github.com>2021-09-08 23:00:36 +0530
committerLibravatar GitHub <noreply@github.com>2021-09-08 23:00:36 +0530
commit1e6263d1af1de9059071456d743d126a8aebc0e9 (patch)
tree4512c804eb650e6eab7ecbdbe8eedfc2f737f7ce /recipes/office365-owa/index.js
parentrefactor: use the exposed methods for session handling from the main repo (diff)
downloadferdium-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/office365-owa/index.js')
-rw-r--r--recipes/office365-owa/index.js136
1 files changed, 136 insertions, 0 deletions
diff --git a/recipes/office365-owa/index.js b/recipes/office365-owa/index.js
index 89568a6..a20b158 100644
--- a/recipes/office365-owa/index.js
+++ b/recipes/office365-owa/index.js
@@ -2,4 +2,140 @@ module.exports = Ferdi => class Outlook 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#microsoft-365-common-and-office-online
8 knownCertificateHosts() {
9 return [
10 'accounts.google.com',
11 'acompli.com',
12 'acompli.helpshift.com',
13 'acompli.net',
14 'ad.atdmt.com',
15 'ajax.aspnetcdn.com',
16 'amp.azure.net',
17 'api.dropboxapi.com',
18 'api.login.yahoo.com',
19 'api.meetup.com',
20 'apis.live.net',
21 'app.adjust.com',
22 'app.box.com',
23 'appex-rf.msn.com',
24 'apps.identrust.com',
25 'assets-yammer.com',
26 'assets.onestore.ms',
27 'auth.gfx.ms',
28 'autologon.microsoftazuread-sso.com',
29 'azure-apim.net',
30 'azureedge.net',
31 'bing.com',
32 'bing.net',
33 'bit.ly',
34 'cdn.onenote.net',
35 'cdn.optimizely.com',
36 'cert.int-x3.letsencrypt.org',
37 'cl2.apple.com',
38 'clientconfig.microsoftonline-p.net',
39 'cloudapp.net',
40 'connect.facebook.net',
41 'cortana.ai',
42 'crl.globalsign.net',
43 'crl.identrust.com',
44 'd.docs.live.net',
45 'data.flurry.com',
46 'dc.services.visualstudio.com',
47 'digicert.com',
48 'docs.live.net',
49 'dropbox.com',
50 'edgesuite.net',
51 'en-us.appex-rf.msn.com',
52 'entrust.net',
53 'evernote.com',
54 'geotrust.com',
55 'globalsign.com',
56 'googleapis.com',
57 'graph.facebook.com',
58 'helpshift.com',
59 'hockeyapp.net',
60 'isrg.trustid.ocsp.identrust.com',
61 'itunes.apple.com',
62 'live.comlocalytics.com',
63 'localytics.com',
64 'login.microsoftonline-p.com',
65 'login.windows-ppe.net',
66 'm.facebook.com',
67 'mail.google.com',
68 'management.azure.com',
69 'media.azure.net',
70 'mem.gfx.ms',
71 'microsoft.com',
72 'microsoft.commicrosoft.com',
73 'microsoftonline-p.com',
74 'microsoftonline.com',
75 'microsoftstream.com',
76 'microsoftusercontent.com',
77 'msauth.net',
78 'msauthimages.net',
79 'msecnd.net',
80 'msedge.net',
81 'msft.net',
82 'msftauth.net',
83 'msftauthimages.net',
84 'msftidentity.com',
85 'msidentity.com',
86 'msocdn.com',
87 'nexus.microsoftonline-p.com',
88 'nps.onyx.azure.net',
89 'o365weve.com',
90 'oaspapps.com.akadns.net',
91 'oaspapps.com',
92 'ocsp.int-x3.letsencrypt.org',
93 'ocsp.msocsp.com',
94 'office.com',
95 'office.net ',
96 'office365.com',
97 'office365servicehealthcommunications.cloudapp.net',
98 'officeconfig.msocdn.com',
99 'omniroot.com',
100 'onedrive.com',
101 'onenote.com',
102 'outlook.com',
103 'outlookmobile.com',
104 'p100-sandbox.itunes.apple.com',
105 'partnerservices.getmicrosoftkey.com',
106 'phonefactor.net',
107 'platform.linkedin.com',
108 'play.google.com',
109 'portal.cloudappsecurity.com',
110 'powerapps.com',
111 'prod.msocdn.com',
112 'public-trust.com',
113 'rink.hockeyapp.net',
114 's.ytimg.com',
115 's0.assets-yammer.com',
116 'sdk.hockeyapp.net',
117 'secure.aadcdn.microsoftonline-p.com',
118 'secure.meetup.com',
119 'sharepointonline.com',
120 'shellprod.msocdn.com',
121 'social.yahooapis.com',
122 'staffhub.ms',
123 'sway-cdn.com',
124 'sway-extensions.com',
125 'sway.com',
126 'symcb.com',
127 'symcd.com',
128 'uservoice.com',
129 'verisign.com',
130 'verisign.net',
131 'view.atdmt.com',
132 'virtualearth.net',
133 'windows.com',
134 'windows.net',
135 'windowsazure.com',
136 'yammer.com',
137 'yammerusercontent.com',
138 'youtube.com',
139 ];
140 };
5}; 141};