o-ba/mfa-hotp
Composer 安装命令:
composer require o-ba/mfa-hotp
包简介
TYPO3 hmac-based one-time password provider
README 文档
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:
- Navigate to the MFA module in the TYPO3 backend and click on "Setup"
- Scan the QR-code or directly enter the shared secret in an OTP application or device
- Enter the generated six-digit code in the corresponding field
- Submit the form to activate the MFA provider
- Alternatively also activate the built-in
Recovery codesprovider
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.
o-ba/mfa-hotp 适用场景与选型建议
o-ba/mfa-hotp 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 91 次下载、GitHub Stars 达 0, 最近一次更新时间为 2021 年 02 月 22 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 o-ba/mfa-hotp 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 o-ba/mfa-hotp 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 91
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 8
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0
- 更新时间: 2021-02-22