NODE-7887ClosedFixed
OIDC ENVIRONMENT confusion bypasses ALLOWED_HOSTS and leaks human-callback bearer tokens
h3. Use Case As a... Node Driver developer whose application supplies OIDC_HUMAN_CALLBACK and ALLOWED_HOSTS programmatically but consumes the conn string from a less-trusted source I want... the driver to enforce ALLOWED_HOSTS no matter which auth mechanism properties the conn string adds So that... the user's OIDC token is not sent to a host outside ALLOWED_HOSTS h3. User Experience * After the fix, MongoClient constructor should throw if both ENVIRONMENT and OIDC_CALLBACK OR OIDC_HUMAN