Skip to content

Conversation

addaleax
Copy link
Collaborator

@addaleax addaleax commented Jul 4, 2025

Description

Open Questions

Checklist

...clientOptions.oidc,
...addToOIDCPluginHttpOptions(clientOptions.oidc, {
agent: proxyAgent,
}),
Copy link
Collaborator Author

@addaleax addaleax Jul 4, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is becoming necessary because [email protected] only accepts a custom fetch, not custom HTTP options (which can more easily extended by adding more options to the object), so aggregating all options into a single place for creating the fetch function has to happen elsewhere. Doing it here and expanding applyProxyToOIDC to also accept a DevtoolsProxyOptions object allows us to keep doing pretty much the same thing when using this in Compass that we do now (maybe even slightly simplify).

@addaleax addaleax merged commit ce6438b into main Jul 7, 2025
32 of 33 checks passed
@addaleax addaleax deleted the mongosh-2194-dev branch July 7, 2025 10:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants