I have built a pretty basic Web page that interfaces with my main Ignition gateway. I do this using the WebDev module, and utilizing the system.tag.read and write functions within python code to send JSON data to and from with Ajax POST methods.
My customer would now like to be able to log into this web page using Ignition credentials so we can track user actions.
How could this be implemented? I’m sure i can get them to enter their username, and check that against Ignition whether its a valid user or not, but how can i deal with passwords? I suppose i can use “system.security.validateUser”, but that means sending the password over the Ajax POST method in plain text?
I know this would be a great application to utilize the new Perspective module, but that might not be an option for some time.