Skip to content

feat(devtools-connect): bump oidc-plugin to 2.0.0 MONGOSH-2194 #560

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 7, 2025

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