I tried to add my settings to the defaultHttpOptions property like so:
Issuer.defaultHttpOptions = {
host: 'proxy',
port: 8888,
path: 'https://myoidcserver.com',
headers: {
Host: "myoidcserver.com"
}
};
Issuer.discover(config.idSrv.url)
.then(.....
But that doesn't seem to work. The only reason I added the path is because of this SO answer. Even with just the host and the port it does not work and the connection times out. What am I missing?
I tried to add my settings to the
defaultHttpOptionsproperty like so:But that doesn't seem to work. The only reason I added the path is because of this SO answer. Even with just the host and the port it does not work and the connection times out. What am I missing?