-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: No version
-
Component/s: OIDC DB Auth
-
None
-
Environment:OS:
node.js / npm versions:
Additional info:
-
2
-
Iteration Dreadnoughtus
-
Not Needed
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