kleinweb/saml-auth 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

kleinweb/saml-auth

最新稳定版本:6.0.3

Composer 安装命令:

composer require kleinweb/saml-auth

包简介

The source code for Kleinweb SAML Auth

README 文档

README

A WordPress SAML 2.0 authentication package for Klein College sites. Built as an Acorn service provider, it wraps wp-saml-auth with custom login page modifications, managed user provisioning, and bulk user import capabilities.

Features

  • SAML 2.0 Single Sign-On via institutional Identity Provider
  • Custom WordPress login page with IdP toggle
  • Managed user accounts with SAML attribute mapping
  • Bulk user import from CSV
  • SP metadata endpoint at /sp/metadata

Requirements

Installation

composer require kleinweb/saml-auth

The service provider is auto-discovered via Acorn. Configure in config/kleinweb-auth.php.

Configuration

X.509 certificates should be placed in .config/x509/:

  • .config/x509/keys/<name>.key - Private key
  • .config/x509/certs/<name>.crt - Certificate

Key config options in config/kleinweb-auth.php:

  • allow_local_login - Enable/disable WordPress password login (default: true)
  • auto_provision - Auto-create accounts for new IdP users (default: false)
  • default_role - Role assigned to provisioned users

Development

just check    # Run all QA checks
just fix      # Apply formatters and fixers
just build    # Build frontend assets
just dev      # Watch mode

Tools

References

SAML Specifications

SAML Attribute Naming Conventions

Background

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: GPL-3.0-or-later
  • 更新时间: 2025-04-15

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固