This extension adds OIDC authentication support for HumHub.
Based on yii2auth-oidc
The preferred way to install this extension is through composer.
Either run
php composer.phar require worteks/humhub-auth-oidc
or add
"worteks/humhub-auth-oidc": "~0.3"
to the require
section of your composer.json.
Set up an OpenID Provider (OP) and configure your Yii2 app as a Relying Party (RP) on your Authentication Server.
Example application configuration:
'components' => [
'authClientCollection' => [
'clients' => [
// ...
'oidc' => [
'class' => 'worteks\humhub\authclient\OIDC',
'domain' => 'https://auth.example.com',
'clientId' => 'myClientId',
'clientSecret' => 'myClientSecret',
'defaultTitle' => 'auth.example.com',
'cssIcon' => 'fa fa-sign-in',
],
],
// ...
]
Check yii2auth-oidc for details on available configuration options.