o-ba/mfa-hotp

TYPO3 hmac-based one-time password provider

Maintainers

Details

github.com/o-ba/mfa_hotp

Source

Issues

Installs: 54

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Open Issues: 0

Type:typo3-cms-extension

1.1.0 2022-11-07 15:52 UTC

This package is not auto-updated.

Last update: 2024-10-29 05:47:29 UTC


README

This extension adds the HOTP (hmac-based one-time password) MFA provider to TYPO3, using the new MFA API, available since TYPO3 v11.1. It can furthermore be used as an example extension on how to integrate a custom provider into TYPO3.

The extension supports all TYPO3 versions >= 11.1 with PHP >= 7.4.

Important: For better understanding, especially for editors, the provider is referred to as Counter-based one-time password in the TYPO3 backend.

Note: Since the TYPO3 MFA API is still experimental, changes in upcoming releases are to be expected.

Installation

You can install the extension via composer composer req o-ba/mfa-hotp, download the release packages (zip, tar.gz) or via the TYPO3 extension repository.

About HOTP

The HOTP MFA Provider is based on a shared secret, which will be exchanged between an OTP application (or device) and TYPO3. Each code takes the initially defined shared secret and an increasing counter value into account. Each code is only valid once, since the counter value will be updated on both sides after every authentication attempt. Therefore, this provider is also called Counter-based one-time password.

To use this provider:

  1. Navigate to the MFA module in the TYPO3 backend and click on "Setup"
  2. Scan the QR-code or directly enter the shared secret in an OTP application or device
  3. Enter the generated six-digit code in the corresponding field
  4. Submit the form to activate the MFA provider
  5. Alternatively also activate the built-in Recovery codes provider

In the providers' editing view, it's also possible to initiate the counter resynchronization. This will be necessary, in case the local counter value (client side) does no longer match the expected counter value on the server side.

TYPO3 and multi-factor authentication

You can read more about the implementation in the official changelog.

Further TYPO3 extensions adding MFA providers

Credits

Icons used in this repository are made by Freepik from www.flaticon.com.