Extension:OpenID Connect

The OpenID Connect extension extends the PluggableAuth extension to provide authentication using OpenID Connect.

Special thanks to jumbojett for the OpenID Connect PHP library used by this extension.

Installation
This extension requires PluggableAuth to be installed first. It also requires the OpenID Connect PHP library.

Configuration parameters
A simple example of the  configuration for a single issuer is as follows:

$OpenIDConnect_Config['https://id.mycompany_abc.com/connect/'] = array(   'clientID' => '.....',    'clientsecret' => '.....' );

An example of the  configuration for multiple issuers is as follows:

$OpenIDConnect_Config['https://id.mycompany_abc.com/connect/'] = array(   'clientID' => '.....',    'clientsecret' => '.....',    'name' => "My Company's Connect Server",    'icon' => 'http://www.mycompany_abc.com/images/logo.png' );

$OpenIDConnect_Config['https://id.partnercompany_def.com/connect/'] = array(   'clientID' => '.....',    'clientsecret' => '.....',    'name' => "Partner Company's Connect Server",    'icon' => 'http://www.partnercompany_def.com/images/logo.png' );