Skip to content

Question: How do I set up proxy settings? #22

@mithun-daa

Description

@mithun-daa

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions