Skip to content

Commit 2791b62

Browse files
author
Jann Roder
committed
* Pass through verify, timeout and proxies flag
1 parent 4c52458 commit 2791b62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

msal/application.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ def _get_authority_aliases(self, instance):
271271
if not self.authority_groups:
272272
resp = requests.get(
273273
"https://login.microsoftonline.com/common/discovery/instance?api-version=1.1&authorization_endpoint=https://login.microsoftonline.com/common/oauth2/authorize",
274-
headers={'Accept': 'application/json'})
274+
headers={'Accept': 'application/json'}, verify=self.verify, proxies=self.proxies, timeout=self.timeout)
275275
resp.raise_for_status()
276276
self.authority_groups = [
277277
set(group['aliases']) for group in resp.json()['metadata']]

0 commit comments

Comments
 (0)