davitec/dv-sso-auth

SSO authentication for TYPO3 CMS with Shibboleth-focused defaults

Maintainers

Package info

github.com/Davitec-GmbH/dv-sso-auth

Homepage

Type:typo3-cms-extension

pkg:composer/davitec/dv-sso-auth

Statistics

Installs: 1

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

1.0.2 2026-04-01 14:09 UTC

This package is auto-updated.

Last update: 2026-04-01 14:13:48 UTC


README

SSO Auth is a TYPO3 extension for SSO-based authentication with Shibboleth-focused defaults.

Features

  • SSO authentication service for TYPO3 frontend and backend login flows.
  • Backend login provider with dedicated SSO button.
  • Frontend login plugin with login/logout flow.
  • Optional FE/BE user auto-import and update from IdP attributes.
  • FE/BE group mapping from affiliation attributes.
  • Middleware to recover from stale FE sessions during SSO login.

Key configuration

Main settings are defined in ext_conf_template.txt:

  • enableBE / enableFE
  • enableAutoImport / enableBackendAutoImport
  • backendAutoImportGroup
  • storagePid
  • loginHandler / logoutHandler
  • remoteUser, mail, displayName, eduPersonAffiliation
  • onlySsoBE, forceSSL

Tests

Unit tests are located in Tests/Unit and cover core helper logic:

  • ExtensionSettingsFactory
  • ServerVariableResolver
  • SsoRequestDetector
  • AffiliationParser
  • ShibbolethTargetBuilder

Run (once PHPUnit is available in your environment):

vendor/bin/phpunit -c packages/dv-sso-auth/phpunit.xml.dist

Run functional tests:

vendor/bin/phpunit \
  --bootstrap vendor/typo3/testing-framework/Resources/Core/Build/FunctionalTestsBootstrap.php \
  -c packages/dv-sso-auth/Tests/phpunit.xml \
  --testsuite Functional