Configuring Autologin
The Autologin feature allows you to give access to the Centreon platform through a simple URL, without having to type a username and a password. Use Autologin for instance to display custom views on a large screen in your office.
Step 1: Activate autologin
Go to Administration > Parameters > Centreon UI.
In the Authentication properties section, select the following options:
- Enable Autologin
- Display Autologin shortcut.
Click Save.
Step 2: Create an autologin user
Create a user called autologin and give it access rights only to the pages you will want to display.
Edit the user. Go to the Authentication tab:
- enable option Reach Centreon Front-end.
- to the right of the Autologin Key field, click Generate. Make a note of the generated key.
Click Save.
Step 3: Retrieve the connection URL
Log in as user autologin.
Go to the page you will want to display, then click the profile icon in the top right corner of the screen.
Click Copy autologin link to get the URL you need to use. Autologin URLs have the following structure:
http://[IP_CENTREON]/centreon/main.php?p=[page_number]&autologin=1&useralias=[user_login]&token=[autologin_key]
Example: The following link allows user admin to display the Home > Custom views page:
http://10.29.11.2/centreon/main.php?p=103&autologin=1&useralias=admin&token=3sWymDJk
To display Centreon in fullscreen mode, without the menus or the header, append &min=1 to the URL.