Note
v1.4.0 Released — Full GLPI 11 & 12 compatibility, GLPI CSP readiness, LDAP-to-SAML CLI user migration (plugins:samlsso:migrate_ldap_users), and Per-IdP SCIM 2.0 Provisioning (Beta).
Upgrading from 1.3.x? Review the v1.4.0 Release Notes for upgrade instructions and security breaking changes (external auths_id namespace isolation, token-guarded ?bypass=1, encrypted SP keys, and GLPI Core session timeout delegation).
samlSSO is a SAML 2.0 Single Sign-On (SSO) plugin for GLPI 11 and 12, originally rewritten by Chris Gralike from Derrick Smith's PHPSAML plugin. It integrates natively with GLPI Core components, uses Composer (onelogin/php-saml) for maintainability, follows PSR coding standards, and enforces a database-backed 9-phase authentication state machine (ADR 0001).
| Component | Requirement |
|---|---|
| GLPI | 11.0.0 – 12.9.99 |
| PHP | >= 8.0 with simplexml and openssl extensions |
| Transport | HTTPS (strongly recommended for SAML SSO; strictly required for SCIM 2.0) |
| Sessions | session.cookie_httponly = On; SameSite=Lax or Strict supported natively via stateless ACS |
- Multiple SAML Identity Providers: Configure and operate multiple IdPs concurrently (Microsoft Entra ID, Okta, Keycloak, Ping, Authentik, Google Workspace, JumpCloud, WatchGuard AuthPoint, and generic SAML 2.0 IdPs).
- Double-Pass Solicited Authentication: Enforces
InResponseToand uniqueSAMLResponseID replay tracking throughLoginState, handling IdP-initiated clicks via transparent solicited re-authentication. - Exclusions & Token-Guarded Bypass: Configure exclusions and optional cryptographic
?bypass=1escape hatches for emergency local administration.
- Just-In-Time (JIT) Provisioning & Claim Mapping: Dynamically create and synchronize GLPI user accounts on login using SAML attributes mapped to GLPI user fields.
- GLPI Rule Engine Integration: Assign profiles, entities, and groups via native
RuleSamlauthorization rules. - SCIM 2.0 Provisioning (
Beta): Per-IdP stateless HTTPS Bearer endpoint (/front/scim/v2/{idpId}) supporting user create/update/deactivate/offboarding, filter queries, PATCH operations, and scoped/existing group membership policies. - LDAP-to-SAML User Migration (
bin/console): Migrate existing LDAP-bound accounts safely in-place (plugins:samlsso:migrate_ldap_users) with HMAC-signed revert registers.
- Audit Trails & Diagnostics: Phase-by-phase login trace logging and on-demand sanitized diagnostic popovers for TLS reverse proxies (
X-Forwarded-*) and clock synchronization. - SP Certificate Management & Encrypted Secrets: Built-in OpenSSL certificate/key generator (
RSA >= 2048/ ECDSAP-256–P-521), file/env/define key source support, andGLPIKeyencryption at rest. - Configuration Backup & Restore: Export and validate/restore full IdP, claim map, and exclusion configurations directly from the UI.
- Content Security Policy (CSP) Ready: Compliant with GLPI nonce-based CSP (
'csp_compliant' => true). - Localizations: Automated localization pipeline supporting 21 languages via Transifex.
Comprehensive setup manuals, IdP walkthroughs, and troubleshooting playbooks live in the Project Wiki and local /docs directory:
| Topic | Resource |
|---|---|
| Wiki Home & Overview | Project Wiki |
| Installation, Upgrade & Cookies | Installation and Lifecycle · Teclib Official Docs |
| Configuration UI Reference | Tab-by-Tab Configuration Reference |
| Identity Provider Guides | Entra ID & Okta · Keycloak · Ping / Authentik / OneLogin / JumpCloud · WatchGuard AuthPoint |
| Provisioning & Migrations | Claim Mapping & JIT Rules · Configure SCIM Provisioning (Beta) · Migrating Users from LDAP to SAML |
| Security, Bypass & SLO | Login Scenarios & Bypass · Exclusions, Logout & Cron · Timeouts, Clocks & Secrets · Unsolicited Login Flows |
| Troubleshooting & Containers | Troubleshooting Playbook · Docker Setup Guide |
| Architecture & Contribution | Architecture Decision Records (docs/ADR/) · Contributing & Agentic Maintenance · Changelog |
Note
Admin Interface Images Notice: The screenshots in the wiki and documentation will be renewed to reflect the latest version once updates to the configuration form are completed.
Share challenges, deployment quirks, or SCIM Beta feedback via GitHub Issues (check issues labeled Public feedback wanted) or join the community Discord.
- Gathering real-world feedback on SCIM 2.0 Provisioning (
Beta) and GLPI 12 deployments - Hardening the plugin security state machine and introducing environment-agnostic smoke testing (#202)
- Translation quality and localization coverage (Transifex)
- Usability optimization and remote logout (SLO) handling
- Enhancing the audit log state table for SIEM security monitoring
Review CONTRIBUTING.md and ADR 0000–0008 before submitting changes, and run the full automated test suite:
php tests/RunAllTests.php- Star ⭐ the repository to help visibility and project growth.
- Think this work earned a coffee? You can contribute at https://www.buymeacoffee.com/donutsnl.
- 4000+ downloads and counting.
- Hours spent maintaining and supporting
glpisaml/samlssofor the past 3 years: +1000h and counting. Coffees received YTD: 29. Hourly compensation for efforts: €0.145. - This is not about begging for money — it is about awareness around the OSS sustainability gap. If your organization relies on open-source software commercially (including GLPI and this plugin), please consider supporting the maintainers behind it.
OSS depends on community effort — thank you to everyone who has contributed🫶:
- Raul,
@gambware, Koen, Marc-henri, Vijay Nayani, and Fabio Grasso for supporting the OSS community. @beeone42(Sebastien BENOIT) for architecting the dual GLPI 11/12 property typing compatibility layer, call-time webdir helpers, and Twig strict mode fixes (#169,#167).@froberts0n(Frank Robertson, Synairgis) for addingregistration_numberto user claims mapping (#134,#157).@MikeDevresse,@eduardomozart,@Neozlag,@tomas321,@albertogalisteo,@KawanCostaNs,@enricomv, and@Siruvfor fixes and codebase improvements.@andreaPressfor figuring out and sharing the Docker configuration needed.@SpyK-01for licensing and sharing the logo via https://elements.envato.com/letter-shield-gradient-colorful-logo-XZ7LYCM.@dollierpfor adding the cleanup cron task.- Translations:
@CTparental, Alan Lehoux (es), Achraf Chico (fr), Eduardo Peres (us), Jonathan Ronquillo (es), Achraf Oueldelferraga (fr), Joaquin Etchegaray (es), Soporte Infrastructura (es). - Download statistics: https://hanadigital.github.io/grev/?user=DonutsNL&repo=samlsso (excluding +3K historical Codeberg downloads).
Licensed under the GNU Affero General Public License v3 (AGPL-3.0) / GPLv3+. Architectural decisions are tracked under docs/ADR/.