2-Factor Authentication
Activate 2-factor authentification
Before Before enabling 2-factor authentication, set up your mailserver and test email configuration.
If you customize a configuration file on the application server, you must always run setup.sh afterwards. Only then will the settings be applied.
1. Open the configuration file.
nano /opt/enginsight/enterprise/conf/services/config.json2. Set twoFactor to true.
"twoFactor": {
"enabled": true
}3. Save the configuration file (Ctrl+o) and confirm the saving process. Close nano (Ctrl+x).
4. Navigate to /opt/enginsight/enterprise
cd /opt/enginsight/enterpriseRun
setup.shto make the changes apply.
sudo ./setup.shIf you only want to secure important functions with 2-factor authentication, you are done now. If you want to ask for the second factor when logging in, enable this in the settings directly in the Enginsight platform: Settings → Organisation → Advanced settings → Two-factor authentication for all team members.
You can learn how to use an Authenticator app here.
Increase in verification time
If you need more time to enter the code during 2-factor login, you can increase the time window for valid tokens in the config.json configuration file.
Open the configuration file
Add value
Add the
authenticatorWindowparameter underonpremise.twoFactor.Save changes Save the configuration file (Ctrl+o) and confirm the save process. Close nano (Ctrl+x).
Navigate to
/opt/enginsight/enterpriseRun
setup.shfor the changes to take effect.
Example 2 minutes
Example 3 minutes
Last updated
Was this helpful?