Tutorial: Auto-login for visualization web clients
For security reasons, a visualization client is required to provide credentials to log in to a given device. However, there might be reasons where a login of a default user should be done automatically, e.g. in a kiosk mode.
The approach this tutorial uses depends on 3rd-party products for which we are to able to provide support.
We recommend using Google Chrome web browser.
Follow these steps on the target machine:
Install the Tampermonkey Chrome Extension.
Navigate to the login page of the required web visualization device (http(s)://<hostname>/<device-name>/).
Enable the Tampermonkey Extension. You might be asked to reload the page.
Create a new script.
Replace the default function with the following code:
console.log('Auto login'); $(document).ready(function() { $('#username').val('your-username'); $('#password').val('your-password'); $('#login-button-translated').prop('disabled', false) $('#login-button-translated').click(); });
Save the script.
Reload the visualization device login page.
You are now automatically logged in.