Configure two factor authentication

Abiquo supports two-factor authentication for the user interface to improve login security. 

  1. The Systems Administrator configures two-factor authentication for the platform (see steps below)
  2. The Cloud Administrator can configure tenants to force users to work with two-factor authentication
  3. If two-factor authentication is configured for the platform but not required for a user's tenant, the user can still choose to enable it

For a description of the user functionality, see Enable two factor authentication

Note: When you enable the Abiquo OpenID Connect integration, Abiquo disables two-factor authentication.

Configure authentication system

To configure the authentication system do these steps:

  1. Synchronize system time: two-factor codes are dependent on the system time
  2. For a multi-datacenter configuration, configure Appliance manager for template upload and download as described in Uploading and downloading templates in multi datacenter

  3. For each enterprise that requires 2FA, migrate automation and integrations to OAuth, see Authentication#OAuthv1.0VersionAAuthentication. To implement two-factor authentication for a portal, see Authentication

  4. For events and event streaming, if the M-user belongs to a tenant that must use 2FA, configure the M-user to use OAuth. Enter the OAuth credentials in the Abiquo properties file. See Abiquo Configuration Properties#m. See Authentication#OAuthv1.0VersionAAuthentication

  5. Configure Google Authenticator properties. Set the name of the issuer of authentication codes. See Abiquo Configuration Properties#2fa 

  6. Configure email authentication properties:

    1. Set the email server configuration, including the sender with the "from" property. See Abiquo Configuration Properties#server

    2. Set the length of time that the email codes will be valid for. See Abiquo Configuration Properties#2fa

  7. For email authentication, you can edit the email message. See Configure Email Templates

Troubleshooting two-factor authentication

  • Check server date and time synchronization as part of the user issue troubleshooting process.

Manage two-factor authentication in the UI

To enable 2fa for the platform:

  1. Go to ConfigurationSecurity
  2. Edit the options and select Enable two factor authentication

To require 2fa for a tenant:

  1. Go to Users → edit Enterprise → General
  2. Select the checkbox to Require two-factor authentication for all users in the enterprise

When two factor authentication is required, the user must enable it from the username menu.

If two-factor authentication is not required, the user may optionally enable it for their own account from the username menu.

To disable the display of the two factor authentication item in the username menu, the administrator can set the client.2fa.activated property to false in the UI configuration. See Configure Abiquo UI.

See Enable two factor authentication

Manage two factor authentication via the API

To require 2fa mandatory for a tenant, edit the enterprise and set the value of the twoFactorAuthenticationMandatory attribute to true.

To enable or disable 2fa for a user, post the authentication method to the action link of the user.

Copyright © 2006-2022, Abiquo Holdings SL. All rights reserved