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:

  1. Install the Tampermonkey Chrome Extension.

  2. Navigate to the login page of the required web visualization device (http(s)://<hostname>/<device-name>/).

  3. Enable the Tampermonkey Extension. You might be asked to reload the page.

  4. Create a new script.

     

  5. 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(); });

     

  6. Save the script.

     

  7. Reload the visualization device login page.

You are now automatically logged in.