diff --git a/pymongo/auth_shared.py b/pymongo/auth_shared.py index 605dbf2611..715749243f 100644 --- a/pymongo/auth_shared.py +++ b/pymongo/auth_shared.py @@ -160,7 +160,6 @@ def _build_credentials_tuple( "127.0.0.1", "::1", "*.mongo.com", - "*.mongodbgov.net", ] allowed_hosts = properties.get("ALLOWED_HOSTS", default_allowed) if properties.get("ALLOWED_HOSTS", None) is not None and human_callback is None: