That's a great solution! Just a warning in case someone wants to use it: the way it has been done is quite safe, especially because you're using HTTPS here so the credentials are transferred encrypted. However, you should never add the credentials directly to any LocalScript, UI Action or anything in the frontend of your HMI. This is not done here - instead the user is required to enter the credentials manually which is good. Just wanted to point this out: you should never hardcode the credentials to your ctrlX anywhere in your HMI as they can then be regarded as compromised and available to everyone who can access the HMI with just a little bit of knowledge and HTTP access to the HMI.
... View more