Configure two factor authentication
Abiquo supports two-factor authentication for the user interface to improve login security.
- The Systems Administrator configures two-factor authentication for the platform (see steps below)
- The Cloud Administrator can configure tenants to force users to work with two-factor authentication
- 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:- Synchronize system time: two-factor codes are dependent on the system time
For a multi-datacenter configuration, configure Appliance manager for template upload and download as described in Uploading and downloading templates in multi datacenter
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
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.
Configure Google Authenticator properties. Set the name of the issuer of authentication codes. See Abiquo Configuration Properties#2fa
Configure email authentication properties:
Set the email server configuration, including the sender with the "from" property. See Abiquo Configuration Properties#server
Set the length of time that the email codes will be valid for. See Abiquo Configuration Properties#2fa
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:
- Go to Configuration → Security
- Edit the options and select Enable two factor authentication
To require 2fa for a tenant:
- Go to Users → edit Enterprise → General
- 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