Details
-
Bug
-
Resolution: Fixed
-
Major - P3
-
No version
-
None
-
OS:
node.js / npm versions:
Additional info:
-
2
-
Not Needed
-
Iteration Dreadnoughtus
Description
Currently we're setting `ALLOWED_HOSTS` on the `
authMechanismProperties` to `*` when enableUntrustedEndpoints is true. This errors as it's an invalid value. We should instead do what mongosh does:
https://github.com/mongodb-js/mongosh/blob/6a6f97712a596a21c61408dfb925e729306030f8/packages/arg-parser/src/arg-mapper.ts#L114-L137