You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to perform openid authentication behind a corporate proxy, and for that, I need to set the proxy options for the agent, similar to the following:
var HttpsProxyAgent = require('https-proxy-agent');
if (process.env['https_proxy']) {
var httpsProxyAgent = new HttpsProxyAgent(process.env['https_proxy']);
strategy._oauth2.setAgent(httpsProxyAgent);
}
passport.use(strategy);
I cannot perform this unless the ._oauth2 property is exposed.
Or is there any other way to configure the proxy options?
The text was updated successfully, but these errors were encountered:
I am trying to perform openid authentication behind a corporate proxy, and for that, I need to set the proxy options for the agent, similar to the following:
I cannot perform this unless the ._oauth2 property is exposed.
Or is there any other way to configure the proxy options?
The text was updated successfully, but these errors were encountered: