worteks / humhub-auth-oidc
OIDC connector for humhub
Installs: 408
Dependents: 0
Suggesters: 0
Security: 0
Stars: 9
Watchers: 2
Forks: 2
Open Issues: 0
pkg:composer/worteks/humhub-auth-oidc
Requires
- worteks/yii2auth-oidc: ~0.2
This package is auto-updated.
Last update: 2025-12-11 01:00:22 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.