PHP code example of worteks / humhub-auth-oidc
1. Go to this page and download the library: Download worteks/humhub-auth-oidc library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
worteks / humhub-auth-oidc example snippets
'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',
],
],
// ...
]
php composer.phar