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 Abiquo
To enable 2fa for the platform:Go to Configuration → SecurityEdit the options and select Enable
|Manage two factor authentication |
To require 2fa for a tenant:
If two-factor authentication is not required, a user can still enable it for own user only. See Enable two factor authentication
- Go to Users → edit enterprise → General
- Select the option to Require two-factor authentication for all users in the enterprise.
|in the UI|
|Manage two factor authentication in the UI|
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.