Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/worteks/humhub-auth-oidc
OIDC connector for humhub
https://github.com/worteks/humhub-auth-oidc
authclient humhub oauth2 oidc oidc-client openid-connect openidconnect
Last synced: 2 days ago
JSON representation
OIDC connector for humhub
- Host: GitHub
- URL: https://github.com/worteks/humhub-auth-oidc
- Owner: Worteks
- Created: 2019-09-20T16:56:19.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-01-10T11:28:31.000Z (almost 5 years ago)
- Last Synced: 2024-11-03T01:50:05.189Z (11 days ago)
- Topics: authclient, humhub, oauth2, oidc, oidc-client, openid-connect, openidconnect
- Language: PHP
- Size: 5.86 KB
- Stars: 7
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# worteks/humhub-auth-oidc
This extension adds [OIDC](https://openid.net/specs/openid-connect-core-1_0.html) authentication support for [HumHub](https://github.com/humhub/humhub).
Based on [yii2auth-oidc](http://github.com/Worteks/yii2auth-oidc)
[![Latest Stable Version](https://poser.pugx.org/worteks/humhub-auth-oidc/v/stable)](https://packagist.org/packages/worteks/humhub-auth-oidc)
[![Total Downloads](https://poser.pugx.org/worteks/humhub-auth-oidc/downloads)](https://packagist.org/packages/worteks/humhub-auth-oidc)
[![Monthly Downloads](https://poser.pugx.org/worteks/humhub-auth-oidc/d/monthly)](https://packagist.org/packages/worteks/humhub-auth-oidc)
[![License](https://poser.pugx.org/worteks/humhub-auth-oidc/license)](https://packagist.org/packages/worteks/humhub-auth-oidc)## Installation
The preferred way to install this extension is through [composer](http://getcomposer.org/download/).
Either run
```
php composer.phar require worteks/humhub-auth-oidc
```or add
```json
"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:
```php
'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](http://github.com/Worteks/yii2auth-oidc) for details on available configuration options.