承接 cesnet/simplesamlphp-module-campususerpass 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

cesnet/simplesamlphp-module-campususerpass

最新稳定版本:v2.0.0

Composer 安装命令:

composer require cesnet/simplesamlphp-module-campususerpass

包简介

Use ECP to connect another identity provider as auth source

关键字:

README 文档

README

maintenance status: end of life

This project has reached end of life, which means no new features will be added. Security patches and important bug fixes ended in May 2024. Check out Apereo CAS instead.

Description

This module extends authsourceSimpleSAML\Module\core\Auth\UserPassBase. Thanks to this module, you can use ECP to log in the user. To achieve this, you just need to configure the authsource.

Authsources configuration

First, you need to define and configure the authsource in authsources.php file. An example configuration is shown below:

'campus-userpass' => [
    'campusUserPass:ECPAuth',

    'sp' => 'default-sp',
    'ecpIdpUrl' => 'https://ucn.id.muni.cz/ms-ucnmuni/saml2/idp/SSOService.php',
    'expectedIssuer' => 'https://ics.id.muni.cz/ms-ucnmuni/idp'
],

Let's look at the configuration options:

campusUserPass:ECPAuth defines which module and authentication source to use.

sp is an authsource with defined SP. It's needed to do the ECP request.

ecpIdpUrl is an ECP endpoint we want to call.

expectedIssuer is an expected issuer in the ECP response.

Of course, you also need to define sp authsource (default-sp in our case). When the configuration is done, the next step is to open saml20-idp-hosted.php file and set your authsource (campus-userpass in this example) as an authentication source (auth option).

统计信息

  • 总下载量: 1.32k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 4
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2022-09-29