flipboxfactory / saml-sp
SAML Service Provider
Package info
github.com/flipboxfactory/saml-sp
Type:craft-plugin
pkg:composer/flipboxfactory/saml-sp
Requires
- craftcms/cms: ^5.10.8
- flipboxfactory/keychain: ^5.0.1
- flipboxfactory/saml-core: ^5.0.11
Requires (Dev)
- codeception/codeception: ^5.2
- codeception/module-asserts: ^3.0
- codeception/module-yii2: ^1.1.9
- craftcms/ecs: dev-main
- craftcms/phpstan: dev-main
- phpstan/phpstan: ^2.1
- vlucas/phpdotenv: ^5.4
Suggests
None
Provides
None
Conflicts
None
Replaces
None
- dev-master
- 5.1.4
- 5.1.3
- 5.1.2
- 5.1.1
- 5.0.0
- 4.3.1
- 4.3.0
- 4.2.0
- 4.1.1
- 4.1.0
- 4.0.7
- 4.0.6.1
- 4.0.6
- 4.0.5
- 4.0.4
- 4.0.3
- 4.0.2
- 4.0.1
- 4.0.0
- 2.8.0
- 2.7.5
- 2.7.4
- 2.7.3
- 2.7.2
- 2.7.1
- 2.7.0
- 2.6.10
- 2.6.9
- 2.6.8
- 2.6.7
- 2.6.6
- 2.6.5
- 2.6.4
- 2.6.3
- 2.6.2
- 2.6.1
- 2.6.0
- 2.6.0-BETA.1
- 2.6.0-BETA
- 2.5.3
- 2.5.2
- 2.5.1
- 2.5.0
- 2.4.1
- 2.4.0
- 2.3.1
- 2.3.0
- 2.2.0
- 2.1.12
- 2.1.11
- 2.1.10
- 2.1.9
- 2.1.8
- 2.1.7
- 2.1.6
- 2.1.5
- 2.1.4
- 2.1.3
- 2.1.2
- 2.1.1.2
- 2.1.1.1
- 2.1.1
- 2.1.0
- 2.0.15
- 2.0.14
- 2.0.13
- 2.0.12
- 2.0.11
- 2.0.10
- 2.0.9
- 2.0.8
- 2.0.7
- 2.0.6
- 2.0.5
- 2.0.4
- 2.0.3
- 2.0.2
- 2.0.1
- 2.0.0
- 2.0.0-beta.1
- 1.0.8
- 1.0.7
- 1.0.6
- 1.0.4
- 1.0.3.1
- 1.0.3
- 1.0.2
- 1.0.0
- 1.0.0-RC4
- 1.0.0-RC3
- 1.0.0-RC2
- 1.0.0-RC1
- 1.0.0-beta.15
- 1.0.0-beta.14
- 1.0.0-beta.13
- 1.0.0-beta.12
- 1.0.0-beta.11
- 1.0.0-beta.10
- 1.0.0-beta.9
- 1.0.0-beta.8
- 1.0.0-beta.7
- 1.0.0-beta.6
- 1.0.0-beta.4
- 1.0.0-beta.3
- dev-ci/node24-actions
- dev-test/coverage-suite
- dev-chore/dev-sandbox
- dev-feat-4.3.1
- dev-craft/4.0
- dev-craft/3.0
- dev-craft/5.0
- dev-issue-99
- dev-entity-explicity
- dev-saml2-v4
- dev-feature/2.0
- dev-release/1.0.0
- dev-develop
- dev-feature/test-userhelper
- dev-feature/get-plugin
- dev-feature/docs
- dev-hotfix/saml-sp-11
- dev-hotfix/phpcs
This package is auto-updated.
Last update: 2026-11-07 05:05:08 UTC
README
SAML SSO Service Provider for Craft CMS
Single Sign-On (SSO) and Single Logout (SLO) for Craft CMS using SAML 2.0. Your users sign in to Craft through an identity provider such as Okta, Microsoft Entra ID or Google Workspace.
- SSO over HTTP-POST and HTTP-Redirect bindings
- Signed and encrypted assertions
- User attribute and user group sync on login
- Single Logout
- Multiple identity providers
- MySQL and PostgreSQL
Requirements
- Craft CMS 5.10.8+
- PHP 8.2+
Installation
Install from the Craft Plugin Store, or with Composer:
composer require flipboxfactory/saml-sp php craft plugin/install saml-sp
If Composer reports a webmozart/assert conflict, re-run the composer require with -W (saml2 4.19.x needs webmozart/assert 1.x).
Then follow the quick start.
Development
Checks follow Craft's coding guidelines: craftcms/ecs and craftcms/phpstan. Tests use Codeception with Craft's test module and need a MySQL database:
docker run -d --rm --name saml-sp-test-mysql -e MYSQL_ROOT_PASSWORD=password \ -e MYSQL_DATABASE=saml_sp_test -p 127.0.0.1:3306:3306 mysql:8.0 cp tests/.env.example tests/.env # adjust CRAFT_DB_* if needed composer check # check-cs + phpstan + test composer test-coverage # needs pcov or Xdebug; CI requires 85% line coverage composer fix-cs # auto-fix coding standards
CI runs the same checks on every push and pull request. Documentation lives in docs/ and is published from master.
Security
Please report vulnerabilities privately to support@flipboxfactory.com rather than opening a public issue.
Contributing
See CONTRIBUTING.
Credits
License
See LICENSE.