grist-core
grist-core copied to clipboard
OIDC issuer behind a proxy cannot be accessed
Hello,
Self hosting grist with docker here. I have an OIDC issuer which can only be accessed through a proxy.
I pass the following environment variables on my container:
- HTTP_PROXY
- HTTPS_PROXY
- http_proxy
- https_proxy
- NO_PROXY
- no_proxy
However, issuer is still unreachable:
RPError: outgoing request timed out after 3500ms
at /grist/node_modules/openid-client/lib/helpers/request.js:137:13
at async Issuer.discover (/grist/node_modules/openid-client/lib/issuer.js:171:22)
at async OIDCConfig.initOIDC (/grist/_build/app/server/lib/OIDCConfig.js:100:24)
at async Object.getMiddleware (/grist/_build/app/server/lib/OIDCConfig.js:229:13)
at async FlexServer.loadConfig (/grist/_build/app/server/lib/FlexServer.js:1093:33)
at async main (/grist/_build/app/server/mergedServerMain.js:83:5)
at async main (/grist/_build/stubs/app/server/server.js:144:20)
I did not find any documentation telling how to setup a proxy for grist server. What would be the solution ?