Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(cli-repl): use JS Proxy for forwarding lazy-loaded webpack functi…
…on exports MONGOSH-1743 (#1896) This fixes OIDC for compiled executables, because class exports like the `Issuer` class from `openid-client` or `IncomingMessage` from `http` did not fully have properties on the function and/or its prototype forwarded, effectively breaking the feature. This was not caught by our e2e tests because they were first written before the 7.x+ server was the default stable one, and therefore additional checks needed to be added to the test conditions for it. It is now safe to remove those checks, which will make the OIDC e2e tests run as part of our regular e2e test suite for compiled executables (on systems that support 7.x+ servers).
- Loading branch information