diff --git a/src/cmap/auth/mongo_credentials.ts b/src/cmap/auth/mongo_credentials.ts index 5030f8ebbd..a64cbaa434 100644 --- a/src/cmap/auth/mongo_credentials.ts +++ b/src/cmap/auth/mongo_credentials.ts @@ -45,7 +45,9 @@ export const DEFAULT_ALLOWED_HOSTS = [ '*.mongodbgov.net', 'localhost', '127.0.0.1', - '::1' + '::1', + '*.mongo.com', + '*.mongodbgov.net' ]; /** Error for when the token audience is missing in the environment. */