How to enable two-factor authentication (2FA) on SOGo

How to enable two-factor authentication (2FA) on SOGo

Two-factor authentication (2FA) adds an extra layer of security to your SOGo account. Once activated, you will need your password and a temporary code generated by an app on your phone (like Google Authenticator) to log in. This guide shows you the process step by step.

Logging in to SOGo
  1. Go to the SOGo login page. Enter your username (email address) and password. The access URL would be something like: sogo.yourdomain.com How to access and manage email accounts from SOGo 

Access Preferences
  1. To enable 2FA, go to the Preferences menu, located at the top left of the screen (next to your username).



Enable 2FA in Settings
  1. In the Preferences menu, under the "General" section, scroll down until you find the option: "Enable two-factor authentication using a TOTP app".



Set up the Authenticator App
  1. After checking the box, SOGo will show a screen with important information to configure your authentication app.
  2. Open your authentication app on your phone (Google Authenticator, Authy, etc.) and scan the QR code displayed on the SOGo screen. Example screenshot:


  1. The app will automatically add your SOGo account and start generating 6-digit codes.
  2. Enter the 6-digit code generated by the app into the field "Enter TOTP verification code".
After entering the code, click the "Save" button at the top right of the screen (in green). If you don't, the changes won't be applied.

IMPORTANT: Once you activate this option and save the settings, SOGo will always require the verification code from your app to log in.

Make sure you have scanned the QR code correctly and that the app is generating codes before saving. If you save the settings without the app configured, you may lose direct access to that email account in SOGo.

This setting only affects access to SOGo (email, calendar, contacts), not other services.

From now on, each time you log in to SOGo, there will be an additional security step:
  1. First, enter your usual username and password (as shown in the first screenshot of this guide).
  2. Immediately after, a new screen will appear requesting the 6-digit verification code from your authentication app.



  1. Enter the current code shown by your app, and you will access your account securely.


For more information, you can contact us.