You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reusing the `appSettings.json` configuration file should be possible for developers who want to support scenarios outside of Microsoft Graph. This file should have default values for all supported Microsoft Graph clouds and SharePoint URLs.
@@ -17,18 +17,26 @@ This configuration can also be extended by "any" URLs to support 1P endpoints, v
17
17
18
18
```json
19
19
{
20
-
"hostsToWatch": [
21
-
"graph.microsoft.com",
22
-
"graph.microsoft.us",
23
-
"dod-graph.microsoft.us",
24
-
"microsoftgraph.chinacloudapi.cn",
25
-
"*.sharepoint.*",
26
-
"*.sharepoint-df.*"
27
-
"customService.azurewebsites.net"
20
+
"urlsToWatch": [
21
+
"https://graph.microsoft.com/v1.0/*",
22
+
"https://graph.microsoft.com/beta/*",
23
+
"https://graph.microsoft.us/v1.0/*",
24
+
"https://graph.microsoft.us/beta/*",
25
+
"https://dod-graph.microsoft.us/v1.0/*",
26
+
"https://dod-graph.microsoft.us/beta/*",
27
+
"https://microsoftgraph.chinacloudapi.cn/v1.0/*",
28
+
"https://microsoftgraph.chinacloudapi.cn/beta/*",
29
+
"https://*.sharepoint.*/*_api/*",
30
+
"https://*.sharepoint.*/*_vti_bin/*",
31
+
"https://*.sharepoint-df.*/*_api/*",
32
+
"https://*.sharepoint-df.*/*_vti_bin/*",
33
+
"https://customService.azurewebsites.net/*"
28
34
]
29
35
}
30
36
```
31
37
38
+
We want to watch full URLs instead of just hosts, so that we can intercept only API calls. This will let users have more control over the URLs they want to watch. Additionally, it will make it possible to use the Proxy when building solutions connected to Microsoft Graph using SPFx, which require that users are able to navigate to web pages in the browser, which are hosted on the same domain as the API calls.
39
+
32
40
## Remove the `--cloud` option on the Proxy
33
41
34
42
This new capability renders the `--cloud` option obsolete on the Proxy. We should remove the capability and its associated documentation.
@@ -61,4 +69,4 @@ Responses can be mocked and should be updated to include the absolute URL for th
0 commit comments