kleinweb / saml-auth
The source code for Kleinweb SAML Auth
Installs: 216
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 0
Open Issues: 17
pkg:composer/kleinweb/saml-auth
Requires
- php: ^8.3
- archtechx/enums: ^1.1
- idleberg/wordpress-vite-assets: ^1.2
- johnbillion/args: ^2.0
- kleinweb/lib: ^1.1.1
- league/csv: ^9.23
- league/uri-components: ^7.0
- symfony/http-foundation: ^7.1
- webmozart/assert: ^1.11
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.59
- kleinweb/php-coding-standards: ^0.6.0
- pantheon-systems/wp-saml-auth: ^2.1
- phpstan/extension-installer: ^1.3
- phpstan/phpstan-deprecation-rules: ^1.2
- phpstan/phpstan-webmozart-assert: ^1.2
- roave/security-advisories: dev-latest
- roots/acorn: ^5.0@beta
- slevomat/coding-standard: ^8.15
- squizlabs/php_codesniffer: ^3.7.1
- szepeviktor/phpstan-wordpress: ^1.3
- dev-main
- 6.0.2
- 6.0.1
- 6.0.0
- 5.2.0
- 5.1.2
- 5.1.1
- 5.1.0
- 5.1.0-beta.3
- 5.1.0-beta.2
- 5.1.0-beta.1
- 5.0.2
- 5.0.1
- 5.0.0
- 5.0.0-beta.3
- 5.0.0-beta.2
- 5.0.0-beta.1
- 4.1.0
- 4.0.0
- 3.1.0
- 3.0.0
- 2.0.0-rc.1
- 2.0.0-beta.2
- 2.0.0-beta.1
- 2.0.0-alpha.2
- 2.0.0-alpha.1
- 1.0.0
- 1.0.0-rc.1
- dev-renovate/lock-file-maintenance
- dev-renovate/biomejs-biome-2.x
- dev-renovate/dev-only
- dev-renovate/node-24.x
- dev-renovate/xstate-monorepo
- dev-renovate/major-symfony
- dev-renovate/major-phpstan-packages
- dev-renovate/major-linters
- dev-renovate/laravel-vite-plugin-2.x
- dev-renovate/npm-vite-vulnerability
- dev-feature/domain-support
- dev-feature/toggle-functionality
- dev-refactor/plugin-wrapper
- dev-chore/semantic-commits-rebase
- dev-fix/inline-login-styles
- dev-feature/login-form
- dev-sisyphus
- dev-validate-config
- dev-wp-saml-auth-plugin-stubs
This package is auto-updated.
Last update: 2026-01-23 19:08:13 UTC
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