Skip to content

Commit 1979384

Browse files
authored
RUST-2303 extend ALLOWED_HOSTS (#1544)
Add the pattern `*.mongo.com` to the default `ALLOWED_HOSTS`.
1 parent 23303ee commit 1979384

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

driver/src/client/auth/oidc.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ const DEFAULT_ALLOWED_HOSTS: &[&str] = &[
5757
"localhost",
5858
"127.0.0.1",
5959
"::1",
60+
"*.mongo.com",
6061
];
6162

6263
/// The callback to use for OIDC authentication.

0 commit comments

Comments
 (0)