Set the expiration time for user activation links in activation emails

When a user registers a new account, or requests to reset a password, they receive an email that contains an activation link. By default, that activation link expires after 600 seconds, or ten minutes.

You can configure the expiration time by setting the conf_apigee_apigee.forgotPassword.EmailLinkExpirySeconds token in the management-ui.properties file.

To set the expiry time:

  1. On the New Edge UI node, edit /opt/apigee/customer/application/management-ui.properties. If that file does not exist, create it:
    vi /opt/apigee/customer/application/management-ui.properties
  2. Add the following property to the file to set the expiry time in seconds (default is 600):
    conf_apigee_apigee.forgotPassword.EmailLinkExpirySeconds=timeInSeconds
  3. Make sure the properties file is owned by the apigee user:
    chown apigee:apigee /opt/apigee/customer/application/management-ui.properties
  4. Restart the New Edge UI:
    /opt/apigee/apigee-service/bin/apigee-service edge-management-ui restart