worteks / humhub-auth-oidc
OIDC connector for humhub
0.3
2020-01-10 11:28 UTC
Requires
- worteks/yii2auth-oidc: ~0.2
This package is auto-updated.
Last update: 2024-11-10 22:27:03 UTC
README
This extension adds OIDC authentication support for HumHub.
Based on yii2auth-oidc
Installation
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.
Usage
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.