-
Notifications
You must be signed in to change notification settings - Fork 61
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
Adds HTTPS proxy support for Okta client #307
Conversation
Added
See |
src/types/http.d.ts
Outdated
}); | ||
defaultHeaders: Record<string, unknown>; | ||
requestExecutor: RequestExecutor; | ||
cacheStore: CacheStorage; | ||
cacheMiddleware: typeof defaultCacheMiddleware | unknown; | ||
agent: typeof HttpsProxyAgent | unknown; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use any
here, so allowSyntheticDefaultImports
won't be needed for types test. The concern for allowSyntheticDefaultImports
is it may break downstream types by introducing this loose flag.
…t rules for downstream apps
OKTA-419414 <<<Jenkins Check-In of Tested SHA: 170db51 for eng_productivity_ci_bot_okta@okta.com>>> Artifact: okta-sdk-nodejs Files changed count: 9 PR Link: "#307"
Adds HTTPS proxy support for Okta client.
You can configure proxy with
httpsProxy
property of client config.If not provided,
https_proxy
/HTTPS_PROXY
env var can be used.Example:
Resolves: #50
Internal ref: OKTA-419414