Remote schema behind corporate proxy - possible ? #10242
Replies: 2 comments 2 replies
-
Hello @oscar6echo Thanks for raising this discussion. Reading your problem statement, it seems to me that if Hasura can be installed behind your corporate proxy, would that solve your issue ? I would suggest you to look at the offerings of self-hosted or enterprise version of Hasura. You can find details of the enterprise pricing here in this page. In self-hosted version, you can run graphql-engine on your own behind your corporate infra. So that would eliminate the need for adding reverse proxy for your remote schema GraphQL endpoint. If you are using docker in your env, you can follow this getting-started guide.
I agree we don't have such customizations atm. But the simplest approach IMO is to run Hasura in your controlled environment. |
Beta Was this translation helpful? Give feedback.
-
@meetzaveri thank you for the detailed answer. But please note that I already self-host an open source hasura on corp premises, with corp auth - and it works superbely. So what appears to be missing (unless I am mistaken) is a way to set proxy env vars applied to a remote schema. Pls confirm / infirm / amend. If confirrmed it would be a nice addition - and probably simple to implement. |
Beta Was this translation helpful? Give feedback.
-
Adding a remote schema in hasura graphql engine is both very powerful and easy.
But how to do it if the remote graphql endpoint is behind a corporate proxy ?
I could not find a way to do it if the hasura runs in a corporate env and the graphql API to add as a remote schema is outside i.e. behind the corporate proxy. Typically env variables
HTTP_PROXY
,HTTPS_PROXY
,NO_PROXY
are used to control proxy use. But I understand that hasura graphql engine does not support those.The only part of the doc related to proxy is about how to expose hasura graphql endpoint behind a reverse proxy - a different topic.
Is it possible ?
If so, how ?
If not, that would be a useful feature 🤔
Beta Was this translation helpful? Give feedback.
All reactions