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
- PHP 8.3+
- WordPress with Acorn 5.0+
- wp-saml-auth plugin
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
- Assertions and Protocols for the OASIS Security Assertion Markup Language (SAML) V2.0
- Glossary for the OASIS Security Assertion Markup Language (SAML) V2.0
- Metadata for the OASIS Security Assertion Markup Language (SAML) V2.0
- Profiles for the OASIS Security Assertion Markup Language (SAML) V2.0
SAML Attribute Naming Conventions
- SAML V2.0 X.500/LDAP Attribute Profile
- Attribute Naming - Shibboleth Concepts
- eduPerson Object Class Specification (20220208) v4.4.0
eduPersonDisplayPronouns
Background
统计信息
- 总下载量: 255
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0-or-later
- 更新时间: 2025-04-15