Nextcloud
Nextcloud is a self-hosted platform for file sync, communication, and collaboration. With the Two-Factor Gateway app you can use seven to send the SMS codes for two-factor authentication.
Features
- Delivers login confirmation codes by SMS
- Global reach via the seven carrier network
- Configurable from the command line (
occ) or the admin UI - Existing
sms77ioconfigurations keep working unchanged
Prerequisites
- Nextcloud 27 or newer with the Two-Factor Gateway app installed
- Shell access to the Nextcloud server (for
occ) - A seven API key
Installation
- 1
Install the app
In Nextcloud, go to
Apps → Securityand enable Two-Factor Gateway, or install it from the console:occ app:install twofactor_gateway - 2
Configure the gateway
Start the interactive configuration and pick
sms, thensms77.io:occ twofactorauth:gateway:configure sms - 3
Provide the API key
Enter your seven API key when prompted. The key is stored encrypted in the Nextcloud configuration.
- 4
Test delivery
Send a test message to a Nextcloud user:
occ twofactorauth:gateway:test <uid> sms <recipient-number>
Enrolment by end users
Each user enables 2FA themselves under Personal Settings → Security → SMS verification. Phone numbers must be entered in international format including the country code (e.g. +4915123456789); without it the SMS will be routed to the wrong region.
Support
For questions about the integration, send us an email or check the Two-Factor Gateway documentation.