Question

OpenID connect issue after upgrade to 22.10.4

  • 17 January 2023
  • 2 replies
  • 72 views

Badge +6

Hello Team,

I’m faing an issue with OpenID connect after upgrade to version:  22.10.4.

I’m not able to connect, here is error that I encountered:

(Cannot assign null to property Core\Security\Authentication\Infrastructure\Provider\OpenId::$username of type string)

Someone can help ?

Many thanks !!!

 


2 replies

Badge +3

Hi,

 

Commenting line 72:

$this->username = $this->provider->getUserInformation()['email'];

 

in /usr/share/centreon/src/Core/Security/Authentication/Infrastructure/Provider/OpenId.php solves the issue on our platform (but i don’t know there are side effects)

Badge +6

Hello Matoy,

The workaround is working, thanks.

Regards,

Reply