Question

OpenID connect issue after upgrade to 22.10.4

  • 17 January 2023
  • 1 reply
  • 33 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 !!!

 


1 reply

Badge +2

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)

Reply