sergiodxa / remix-auth-oauth2

A OAuth2Strategy for Remix Auth
https://sergiodxa.github.io/remix-auth-oauth2/
MIT License
150 stars 56 forks source link

Added support for use behind proxy #75

Closed gabriel-le closed 10 months ago

gabriel-le commented 10 months ago

This PR adds the proxy-agent package to automatically use the proxy environment variables (HTTP_PROXY, HTTPS_PROXY and NO_PROXY).

sergiodxa commented 10 months ago

Thanks but this package needs to remain compatible with Node, Cloudflare, Deno, Bun and any other JS runtime that cam come in the future, and proxy-agent package seems to be used Node.js built-in modules like http, https and url and even using them without the node: prefix, which will break compatibility with some runtimes.