Skip directly to page content
b13 GmbH

Hauptstätter Str. 59
70178 Stuttgart
Germany
+49 (0) 711 460 589 70 [email protected]
Icon featuring a key and overlapping squares, symbolizing security or access control.

Documentation

TYPO3 Module “Single-Sign-On”
Version 2.2.0 (19 Nov 2026)

Chapters of this Documentation

TYPO3 asks an administrator to type their password again before they may change a backend user, a backend group, or open the admin tools. That second check is called sudo mode, and it protects against a session somebody else got hold of: knowing the session is not enough, you have to know the password too.

A user who signs in through your identity provider has no password here. This extension does not create one when it federates a user, and there is no reason it should—the password lives at the identity provider. Sudo mode has no way to ask the identity provider anything, so for that user the dialog is not a hurdle, it is a wall.

What the extension does about it

By default, a federated user without a password passes the dialog without being asked. Everybody else gets it as before.

The rule is deliberately narrow, and it is worth reading once:

Who What happens
Federated, no password The dialog is skipped. There is nothing this user could type
Federated, but a password is set The dialog appears as usual. This user can answer it, so they do
Local user Untouched
Any user, setting switched off The dialog appears for everyone

A user counts as federated when their record carries tx_sso_objectidentifier or tx_sso_tenantid—both are written when this extension creates a user, and never for a local one. See User Federation for where those columns come from.

Every skipped dialog is written to the log at notice level, with the user name, the user id and the id of the access claim. A security check that is stepped over should be visible afterwards.

How far sudo mode reaches

Wider than it looks, which is why this matters for everyday work and not just for the admin tools. Thirteen fields on be_users are marked as requiring it—user name, password, multi-factor settings, groups, database and file mounts, email, the admin flag, file permissions, workspace permissions, the allowed modules, allowed languages and category permissions—and fourteen on be_groups, including the tables and fields a group may edit, and its subgroups. Saving any of them triggers the dialog, as does opening Maintenance, Settings, Upgrade, Environment, the Extension Manager, or your own multi-factor authentication settings.

Without this listener, a federated administrator who is not a system maintainer reaches none of them.

Turning it off

skipSudoModeForFederatedUsers = 0

In Settings → Extension Configuration → sso_authentication.

Know what you get. Switching it off does not make step-up authentication work for federated users—it makes them unable to administer users and groups at all. Every attempt ends with Invalid password, for a password they never had. The one exception is a system maintainer, who can use the install tool password instead.

Switch it off if your security policy requires a second factor at this point and you would rather have the lockout than the exception. If that is the case, the better answer is probably to give those administrators local accounts with passwords, rather than to leave them with a dialog nobody can answer.

Why it is not a second trip to the identity provider

Sending the user back to the identity provider with ForceAuthn looks like the cleaner fix: the step-up check is not skipped, it moves to where the authentication lives. We did not build it, for two reasons.

Whether it is a hurdle at all is the identity provider's decision, not ours. With Kerberos or certificate-based authentication in place, a forced re-authentication completes without the user doing anything. We would be shipping a security mechanism whose effect we cannot describe, let alone promise.

It happens in the middle of saving a record. The dialog interrupts a DataHandler operation; a round trip to the identity provider and back would have to carry that operation along and resume it. Every path where it does not come back cleanly is lost editorial work.

If your installation needs it anyway, the core event this listener uses, SudoModeRequiredEvent, is where it would go—and SudoModeVerifyEvent next to it can verify a claim by other means than a password.