Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion source/auth/auth.md
Original file line number Diff line number Diff line change
Expand Up @@ -1300,7 +1300,7 @@ in the MONGODB-OIDC specification, including sections or blocks that specificall
The list of allowed hostnames or ip-addresses (ignoring ports) for MongoDB connections. The hostnames may include a
leading "\*." wildcard, which allows for matching (potentially nested) subdomains. `ALLOWED_HOSTS` is a security
feature and MUST default to
`["*.mongodb.net", "*.mongodb-qa.net", "*.mongodb-dev.net", "*.mongodbgov.net", "localhost", "127.0.0.1", "::1"]`.
`["*.mongodb.net", "*.mongodb-qa.net", "*.mongodb-dev.net", "*.mongodbgov.net", "localhost", "127.0.0.1", "::1", "*.mongo.com", "*.mongodbgov.net"]`.
When MONGODB-OIDC authentication using a [OIDC Human Callback](#oidc-human-callback) is attempted against a
hostname that does not match any of list of allowed hosts, the driver MUST raise a client-side error without
invoking any user-provided callbacks. This value MUST NOT be allowed in the URI connection string. The hostname
Expand Down Expand Up @@ -2143,6 +2143,8 @@ practice to avoid this. (See

## Changelog

- 2025-11-19: Extend `ALLOWED_HOSTS` with `*.mongo.com` and `*.mongodbgov.net`

- 2025-09-30: Remove support for explicitly specifying MONGODDB-AWS authentication properties.

- 2025-09-10: Update precedence of MONGODB-AWS credential fetching behaviour.
Expand Down
Loading