Search by

SAML Service Provider

Package info

github.com/flipboxfactory/saml-sp

Documentation

Type:craft-plugin

pkg:composer/flipboxfactory/saml-sp

Statistics

Installs: 107 109

Dependents: 0

Suggesters: 0

Stars: 19

Open Issues: 19

5.1.4 2026-11-07 04:38 UTC

README

SAML SSO Service Provider icon

SAML SSO Service Provider for Craft CMS

CI Docs Latest Version Total Downloads

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

Read the documentation →

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.