项目作者: Worteks

项目描述 :
OIDC connector for humhub
高级语言: PHP
项目地址: git://github.com/Worteks/humhub-auth-oidc.git
创建时间: 2019-09-20T16:56:19Z
项目社区:https://github.com/Worteks/humhub-auth-oidc

开源协议:

下载


worteks/humhub-auth-oidc

This extension adds OIDC authentication support for HumHub.

Based on yii2auth-oidc

Latest Stable Version
Total Downloads
Monthly Downloads
License

Installation

The preferred way to install this extension is through composer.

Either run

  1. php composer.phar require worteks/humhub-auth-oidc

or add

  1. "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:

  1. 'components' => [
  2. 'authClientCollection' => [
  3. 'clients' => [
  4. // ...
  5. 'oidc' => [
  6. 'class' => 'worteks\humhub\authclient\OIDC',
  7. 'domain' => 'https://auth.example.com',
  8. 'clientId' => 'myClientId',
  9. 'clientSecret' => 'myClientSecret',
  10. 'defaultTitle' => 'auth.example.com',
  11. 'cssIcon' => 'fa fa-sign-in',
  12. ],
  13. ],
  14. // ...
  15. ]

Check yii2auth-oidc for details on available configuration options.