Installation
On this page
Requirements
- TYPO3
12.,4 LTS 13.or4 LTS 14 - PHP
8.or newer (see exact constraints in1 composer.)json - Working SSO/IdP setup (e.g. Shibboleth SP) providing server variables
such as
REMOTE_USER
Install via Composer
Run in your TYPO3 project root:
composer require davitec/dv-sso-auth
For Composer-based installations the extension is activated automatically.
If required, verify activation in Admin Tools > Extension Manager.
Configure extension settings
Open Admin Tools > Settings > Extension Configuration and configure
dv_.
Minimum useful setup:
-
Enable at least one login context:
enablefor TYPO3 backend SSOBE enablefor TYPO3 frontend SSOFE
-
Set handler paths if your Shibboleth endpoints differ:
login(default:Handler /Shibboleth.)sso/ Login logout(default:Handler /Shibboleth.)sso/ Logout
-
Verify IdP variable mapping:
remote(default:User REMOTE_)USER mail(default:mail)display(default:Name display)Name edu(default:Person Affiliation affiliation)
- If FE user auto-import is enabled, configure
storageto the SysFolder that should contain FE users and FE groups.Pid
Include TypoScript
The extension provides TypoScript in:
EXT:dv_ sso_ auth/ Configuration/ Typo Script/ constants. typoscript EXT:dv_ sso_ auth/ Configuration/ Typo Script/ setup. typoscript
Import it in your site package TypoScript:
@import 'EXT:dv_sso_auth/Configuration/TypoScript/constants.typoscript'
@import 'EXT:dv_sso_auth/Configuration/TypoScript/setup.typoscript'
Frontend plugin setup
For frontend SSO, create a content element with plugin SSO Login
(dvssoauth_).
If enable is active, the plugin provides a FlexForm field
settings. to define the page shown after successful login
when no redirect_ parameter is present.
Quick verification
- Frontend: open a page with the SSO Login plugin and trigger login.
- Backend: open
/typo3/and verify the SSO button is available whenlogin enableis enabled.BE - Confirm that authenticated users are matched by username against the
configured
remoteserver variable.User