Skip to content

Commit 7bb9f12

Browse files
committed
RUST-2303 extend ALLOWED_HOSTS
1 parent 23303ee commit 7bb9f12

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

driver/src/client/auth/oidc.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,8 @@ const DEFAULT_ALLOWED_HOSTS: &[&str] = &[
5757
"localhost",
5858
"127.0.0.1",
5959
"::1",
60+
"*.mongo.com",
61+
"*.mongodbgov.net"
6062
];
6163

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

0 commit comments

Comments
 (0)