centreon-archived icon indicating copy to clipboard operation
centreon-archived copied to clipboard

22.04, «copy autologin link» from the profile, give a wrong link

Open BenoitPoulet opened this issue 2 years ago • 0 comments

BUG REPORT INFORMATION

Prerequisites

The opened issue, must be code related. GitHub is not meant for support. Feel free to check the CONTRIBUTING section for more details.

Versions

centreon-22.04.0-1653660659.f818014728.el8.noarch
centreon-auto-discovery-server-22.04.0-1653400532.84e5792.el8.noarch
centreon-broker-22.04.0-1653899809.953b86970.el8.x86_64
centreon-broker-cbd-22.04.0-1653899809.953b86970.el8.x86_64
centreon-broker-cbmod-22.04.0-1653899809.953b86970.el8.x86_64
centreon-broker-core-22.04.0-1653899809.953b86970.el8.x86_64
centreon-broker-storage-22.04.0-1653899809.953b86970.el8.x86_64
centreon-central-22.04.0-1653660659.f818014728.el8.noarch
centreon-clib-22.04.0-1653899809.953b86970.el8.x86_64
centreon-common-22.04.0-1653660659.f818014728.el8.noarch
centreon-connector-22.04.0-1653899809.953b86970.el8.x86_64
centreon-connector-perl-22.04.0-1653899809.953b86970.el8.x86_64
centreon-connector-ssh-22.04.0-1653899809.953b86970.el8.x86_64
centreon-database-22.04.0-1653660659.f818014728.el8.noarch
centreon-engine-22.04.0-1653899809.953b86970.el8.x86_64
centreon-engine-daemon-22.04.0-1653899809.953b86970.el8.x86_64
centreon-engine-extcommands-22.04.0-1653899809.953b86970.el8.x86_64
centreon-gorgone-22.04.0-1653382658.a7b9500.el8.noarch
centreon-gorgone-centreon-config-22.04.0-1653382658.a7b9500.el8.noarch
centreon-license-manager-22.04.0-1652863800.7a5c91a.el8.noarch
centreon-license-manager-common-22.04.0-1652863800.7a5c91a.el8.noarch
centreon-perl-libs-22.04.0-1653660659.f818014728.el8.noarch
centreon-poller-22.04.0-1653660659.f818014728.el8.noarch
centreon-pp-manager-22.04.0-1652863784.9845a36.el8.noarch
centreon-trap-22.04.0-1653660659.f818014728.el8.noarch
centreon-web-22.04.0-1653660659.f818014728.el8.noarch
centreon-widget-engine-status-22.04.0-1652261061.4630705.el8.noarch
centreon-widget-global-health-22.04.0-1651053081.084eba3.el8.noarch
centreon-widget-graph-monitoring-22.04.0-1652192725.f451e5e.el8.noarch
centreon-widget-grid-map-22.04.0-1652279283.6bfb61c.el8.noarch
centreon-widget-hostgroup-monitoring-22.04.0-1651050783.67619e0.el8.noarch
centreon-widget-host-monitoring-22.04.0-1651664501.1bd851f.el8.noarch
centreon-widget-httploader-22.04.0-1651051613.6e5757c.el8.noarch
centreon-widget-live-top10-cpu-usage-22.04.0-1651050981.e5e84d9.el8.noarch
centreon-widget-live-top10-memory-usage-22.04.0-1651650617.376212b.el8.noarch
centreon-widget-servicegroup-monitoring-22.04.0-1651051537.cf68f62.el8.noarch
centreon-widget-service-monitoring-22.04.0-1651053242.752cfb2.el8.noarch
centreon-widget-single-metric-22.04.0-1652876718.975cc61.el8.noarch
centreon-widget-tactical-overview-22.04.0-1652353412.e395064.el8.noarch

Operating System

CentOS

Browser used

  • [ ] Google Chrome
  • [x] Firefox
  • [ ] Internet Explorer IE11
  • [ ] Safari

Version: 101

Additional environment details (AWS, VirtualBox, physical, etc.):

Description

«copy autologin link» from the profile, give a wrong link

Steps to Reproduce

Please describe precisely the steps to reproduce the encountered issue.

  1. Click on the link image
  2. Log out
  3. Try to use the link provided to login

Describe the received result

Login failed

Iink provided : http://10.66.113.52/centreon/monitoring/resources?details=%7B%22customTimePeriod%22%3A%7B%22end%22%3A%222022-05-31T09%3A37%3A39.513Z%22%2C%22start%22%3A%222022-05-30T09%3A37%3A39.513Z%22%7D%2C%22selectedTimePeriodId%22%3A%22last_24_h%22%2C%22tab%22%3A%22details%22%2C%22tabParameters%22%3A%7B%7D%7D&filter=%7B%22criterias%22%3A%5B%7B%22name%22%3A%22resource_types%22%2C%22object_type%22%3Anull%2C%22type%22%3A%22multi_select%22%2C%22value%22%3A%5B%5D%7D%2C%7B%22name%22%3A%22states%22%2C%22object_type%22%3Anull%2C%22type%22%3A%22multi_select%22%2C%22value%22%3A%5B%5D%7D%2C%7B%22name%22%3A%22statuses%22%2C%22object_type%22%3Anull%2C%22type%22%3A%22multi_select%22%2C%22value%22%3A%5B%5D%7D%2C%7B%22name%22%3A%22status_types%22%2C%22object_type%22%3Anull%2C%22type%22%3A%22multi_select%22%2C%22value%22%3A%5B%5D%7D%2C%7B%22name%22%3A%22host_groups%22%2C%22object_type%22%3A%22host_groups%22%2C%22type%22%3A%22multi_select%22%2C%22value%22%3A%5B%5D%7D%2C%7B%22name%22%3A%22service_groups%22%2C%22object_type%22%3A%22service_groups%22%2C%22type%22%3A%22multi_select%22%2C%22value%22%3A%5B%5D%7D%2C%7B%22name%22%3A%22monitoring_servers%22%2C%22object_type%22%3A%22monitoring_servers%22%2C%22type%22%3A%22multi_select%22%2C%22value%22%3A%5B%5D%7D%2C%7B%22name%22%3A%22search%22%2C%22object_type%22%3Anull%2C%22type%22%3A%22text%22%2C%22value%22%3A%22%22%7D%2C%7B%22name%22%3A%22sort%22%2C%22object_type%22%3Anull%2C%22type%22%3A%22array%22%2C%22value%22%3A%5B%22status_severity_code%22%2C%22asc%22%5D%7D%5D%2C%22id%22%3A%22%22%2C%22name%22%3A%22New+filter%22%7D&autologin=1&useralias=admin&token=pouepouet

Describe the expected result

Login success :D Link format defined here is working : https://docs.centreon.com/docs/monitoring/basic-objects/contacts-create/#centreon-authentication

Logs

Additional relevant information (e.g. frequency, ...)

BenoitPoulet avatar May 31 '22 09:05 BenoitPoulet