Skip to content

Configure OTP Validity Time in Mideye — Timeout Setup

The default validity time for a one-time password (OTP) is 60 seconds. This global parameter can be changed in the application-prod.yml configuration file.


  1. Open application-prod.yml:

    • Windows: C:\Program Files (x86)\Mideye Server 6\config\application-prod.yml
    • Linux: /opt/mideyeserver6/config/application-prod.yml
  2. In the application section, add the otp-timeout parameter (value in seconds):

application:
switch-host: primary.mideye.com
switch-backup-host: secondary.mideye.com
switch-port: 2xxxx
log-path: C:\Program Files (x86)\Mideye Server 6\log
otp-timeout: 120
  1. Restart the Mideye Server service for the change to take effect.