-----------
ATTENTION :
-----------
https://github.com/jumbojett/OpenID-Connect-PHP
Version: 1.0.2

La classe \Jumbojett\OpenIDConnectClient est modifiee pour des soucis de sessions cote PMB et modification d'une condition

*
* @throws OpenIDConnectClientException
*/
public function requestUserInfo(?string $attribute = null) {

...

        // utilisation de strpos a la place d'une comparaison stricte
        if ( strpos($this->getResponseContentType(),'application/jwt') !== false ) {

...

...
   /**
     * Use session to manage a nonce
     */
    protected function startSession() {
        
        if ( (PHP_SESSION_DISABLED !== session_status()) && (PHP_SESSION_ACTIVE !== session_status()) ) {
            session_start();
        }        

    }
...

...
    protected function fetchURL(string $url, ?string $post_body = null, array $headers = []) {

...

        // utilisation du proxy defini dans le parametrage PMB si setHttpProxy() n'a pas ete appele
        if (isset($this->httpProxy)) {
            curl_setopt($ch, CURLOPT_PROXY, $this->httpProxy);
        } else {
            // Proxy defini dans le parametrage PMB
            Proxy::configureCurl($ch, $url);
        }
...

