openfga / js-sdk

OpenFGA SDK for node.js and JavaScript - https://www.npmjs.com/package/@openfga/sdk
https://openfga.dev
Apache License 2.0
50 stars 11 forks source link

Support for http corporate proxy with self signed certificate #126

Open rhamzeh opened 2 months ago

rhamzeh commented 2 months ago

Please do not report security vulnerabilities here. See the Responsible Disclosure Program.

By submitting an issue to this repository, you agree to the terms within the OpenFGA Code of Conduct.

Describe the problem you'd like to have solved

A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

We are trying to use FGA in node.js behind a corporate proxy. After setting HTTP_PROXY / HTTPS_PROXY env variables, we still have issues on certificate chain validation.

image

Describe the ideal solution

A way to set correctly the proxy (credentials and certificate chain to trust)and proper documentation for it

Alternatives and current workarounds

Additional context

Originally posted by @nicoduj on May 15, 2024 in https://github.com/orgs/openfga/discussions/310