OAuth2 authtentication and proxy connection

Hi everyone, I’m using the alexa-remote2 class in a Homey app but I have problems getting the authentication cookie from inside the app.

This class uses a proxy for authentication and login cookie retrieval. If I use the class on the Desktop PC I have no problems and I can retrieve the json with all the login cookie data (and if I manually import the json in my Homey app all works properly).

However, I have many problems authenticating from Homey: inside the Homey app (to be precise inside the OAuth2Client class) the IP address and the port that I set for the proxy connection do not work (the browser opens but gives the error that the address does not exist).

For authentication I’m using the Homey OAuth2 class.

Has anyone had experience using a proxy for authentication in a Homey app?

Thanks,

Simone