different-technology / mfa-sms
TYPO3 SMS MFA provider (requires external SMS provider)
Installs: 6
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 2
Type:typo3-cms-extension
Requires
- php: >=7.4
- symfony/notifier: ^5.2
- typo3/cms-core: ^11.1 || dev-master
Requires (Dev)
- roave/security-advisories: dev-master
- typo3/coding-standards: ^0.2.0
- typo3/tailor: ^1.2
Replaces
- typo3-ter/mfa_sms: 1.0.0
This package is auto-updated.
Last update: 2024-12-22 01:09:44 UTC
README
This extension adds the SMS MFA provider to TYPO3, using the new MFA API, available since TYPO3 v11.1.
Blog post about SMS as MFA: https://markus-code.com/2021/03/sms-two-factor-authentication-for-typo3/
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 require different-technology/mfa-sms
or via TYPO3 extension repository.
About SMS MFA
The SMS multi-factor authentication creates an authentication code and sends it to the users mobile phone. After entering the password, the user has to enter the received authentication code to login to TYPO3.
How to use this provider:
- Navigate to the MFA module in the TYPO3 backend and click on "Setup"
- Enter your mobile phone number
- Submit the form to activate the MFA provider
Supported SMS providers
Before using the SMS MFA provider, you have to setup an SMS provider. Navigate to the extension configuration in the TYPO3 backend and enter the DSN of your SMS provider.
AWS SNS
This extension provides an adapter to use AWS SNS as SMS provider.
Please setup your AWS account and your IAM user/role and use the following configuration:
sns+https://MY_ACCESS_KEY:MY_URL_ENCODED_SECRET@default?region=eu-west-1
Please make sure your access key and secret is URL encoded.
The connection to the AWS API is based on a very simple implementation to avoid using the enormous AWS SDK.
Symfony SMS channel
This extension provides all Symfony SMS channels as SMS providers. You can find them here: https://symfony.com/doc/current/notifier.html#sms-channel
Please make sure to install the package first, before using the SMS channel.
For example composer require symfony/twilio-notifier
and configure the DSN twilio://SID:TOKEN@default?from=FROM