Issue Bug Closed

#104312TOTP MFA provider must support multiple devices

Markus Klein 07/05/24, 08:59 updated 08/01/24, 07:17

Description

It is insufficient to only allow registering a single TOTP device.
Best usecase: yubikeys. One should have more than one key (backup).

Therefore it must be possible to register multiple TOTP devices.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.

History 3

  1. Markus Klein changed removed the assignee 07/05/24, 08:59

  2. Markus Klein commented 07/05/24, 11:32

    Possible workaround is to define a virtual service using the totp provider again:

    Services.yaml

    
      second-totp:
        class: TYPO3\CMS\Core\Authentication\Mfa\Provider\TotpProvider
        tags:
          - name: mfa.provider
            identifier: 'totp2'
            title: 'TOTP (backup)'
            description: 'LLL:EXT:core/Resources/Private/Language/locallang_mfa_provider.xlf:totp.description'
            setupInstructions: 'LLL:EXT:core/Resources/Private/Language/locallang_mfa_provider.xlf:totp.setupInstructions'
            icon: 'actions-qrcode'
            defaultProviderAllowed: true
            before: 'recovery-codes'
            after: 'totp'
  3. Georg Ringer commented and changed status New Closed 08/01/24, 07:17

    closing issue in favor of document how to fix it, cross post to github > https://github.com/TYPO3-Documentation/TYPO3CMS-Reference-CoreApi/issues/4648