Setting default expiration time By default, the expiration time of a one-time password is 2 minutes. You can change this value by setting the default_expires_in_minutes key in the one-time-passwords config file. Allowing multiple passwords Customizing actions Help us improve this page