I would like to add httpsProxyAgent to node-auth. Does the current implementation has option to add agent option to node-oauth.
This is what I would need...
var HttpsProxyAgent = require('https-proxy-agent');
if (process.env['https_proxy']) {
httpsProxyAgent = new HttpsProxyAgent(process.env['https_proxy']);
}
Finally, set the httpsProxyAgent to the request options right before _executeRequest gets called like this:
options.agent = httpsProxyAgent
I would like to add httpsProxyAgent to node-auth. Does the current implementation has option to add agent option to node-oauth.
This is what I would need...
Finally, set the httpsProxyAgent to the request options right before _executeRequest gets called like this:
options.agent = httpsProxyAgent