From 699a1b08cdb71ea194caa2ba7c20604f680d4c94 Mon Sep 17 00:00:00 2001 From: Lindsey Moore Date: Tue, 3 Jun 2025 15:31:09 -0400 Subject: [PATCH 1/3] DOCSP-17038 Update OIDC note about asynch requests --- source/security/authentication/oidc.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/security/authentication/oidc.txt b/source/security/authentication/oidc.txt index 19c17228..799a2118 100644 --- a/source/security/authentication/oidc.txt +++ b/source/security/authentication/oidc.txt @@ -67,8 +67,8 @@ authenticate to various platforms. .. note:: - Because Python's Standard Library doesn't support asynchronous HTTP requests, - all OIDC requests from {+driver-short+} are synchronous and block the ``asyncio`` loop. + As of {+driver-short+} v4.14, Python's Standard Library supports asynchronous HTTP requests. + All OIDC requests from {+driver-short+} are synchronous and will not block the ``asyncio`` loop. .. _pymongo-mongodb-oidc-azure-imds: From 87fa05b0f2173be1b32c905a408cf63a484750c7 Mon Sep 17 00:00:00 2001 From: Lindsey Moore Date: Wed, 4 Jun 2025 13:44:23 -0400 Subject: [PATCH 2/3] edit --- source/security/authentication/oidc.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/security/authentication/oidc.txt b/source/security/authentication/oidc.txt index 799a2118..9403c947 100644 --- a/source/security/authentication/oidc.txt +++ b/source/security/authentication/oidc.txt @@ -67,7 +67,7 @@ authenticate to various platforms. .. note:: - As of {+driver-short+} v4.14, Python's Standard Library supports asynchronous HTTP requests. + Python's Standard Library supports asynchronous HTTP requests. All OIDC requests from {+driver-short+} are synchronous and will not block the ``asyncio`` loop. .. _pymongo-mongodb-oidc-azure-imds: From 3cd253e0cba8114fa211b3177a026e2581489107 Mon Sep 17 00:00:00 2001 From: Lindsey Moore Date: Wed, 4 Jun 2025 13:51:05 -0400 Subject: [PATCH 3/3] edit --- source/security/authentication/oidc.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/source/security/authentication/oidc.txt b/source/security/authentication/oidc.txt index 9403c947..2a7a53bb 100644 --- a/source/security/authentication/oidc.txt +++ b/source/security/authentication/oidc.txt @@ -67,8 +67,9 @@ authenticate to various platforms. .. note:: - Python's Standard Library supports asynchronous HTTP requests. - All OIDC requests from {+driver-short+} are synchronous and will not block the ``asyncio`` loop. + Because Python's Standard Library doesn't support asynchronous HTTP requests, + all OIDC requests from {+driver-short+} are synchronous. As of {+driver-short+} + v4.14, synchronous OIDC requests do not block the ``asyncio`` loop. .. _pymongo-mongodb-oidc-azure-imds: