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 sms77io configurations keep working unchanged

Prerequisites

Installation

  1. 1

    Install the app

    In Nextcloud, go to Apps → Security and enable Two-Factor Gateway, or install it from the console:

    occ app:install twofactor_gateway
    
  2. 2

    Configure the gateway

    Start the interactive configuration and pick sms, then sms77.io:

    occ twofactorauth:gateway:configure sms
    
  3. 3

    Provide the API key

    Enter your seven API key when prompted. The key is stored encrypted in the Nextcloud configuration.

  4. 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.

Last updated: 3 weeks ago