Skip to content

Commit 634ccc3

Browse files
Improved configuration section when using the GraphServiceClient behind a corporate proxy in README.md
1 parent d100aba commit 634ccc3

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎README.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -128,9 +128,9 @@ auth_provider = AzureIdentityAuthenticationProvider(credentials=credentials, sco
128128
client = GraphServiceClient(request_adapter=GraphRequestAdapter(auth_provider=auth_provider, client=http_client))
129129
```
130130

131-
Be carefull as the ClientSecretCredential isn't based on the httpx client but is rather using the requests library
132-
underneath to make it's authentication calls, so the dict is a bit different for the ClientSecretCredential class as
133-
opposed for the httpx AsyncClient. That's why we need to adapt the proxies dict before passing it to the httpx AsyncClient.
131+
> **Note**: Be careful as the ClientSecretCredential isn't based on the httpx client but is rather using the [requests](https://requests.readthedocs.io/en/latest/) library
132+
underneath to make the authentication calls, so the proxies dict is a bit different for the ClientSecretCredential class as
133+
opposed to the httpx AsyncClient. That's why we need to adapt the proxies dict before passing it to the httpx AsyncClient.
134134

135135
## 3. Make requests against the service
136136

0 commit comments

Comments
 (0)