Layer7 API Management

Expand all | Collapse all

Classic Portal - How to change registration-activation token expiry?

  • 1.  Classic Portal - How to change registration-activation token expiry?

    Broadcom Employee
    Posted Sep 10, 2018 10:03 AM

    The customer wishes to change the registration-activation token expiry for the portal 3.5 registration activation link (see below). How do we achieve it? Also, can we send out another activation link (as a reminder) to the user who has not yet activated the registration?

    Hello,

    Your CA Developer Network account has been approved. Please click on the following link to activate your account:
    http://explore.apim.ca/register-activation?token=14ro0Wz9_nknl8_A-UBDUtiY_SOYee_WFFeKFVhCgfY



  • 2.  Re: Classic Portal - How to change registration-activation token expiry?

    Broadcom Employee
    Posted Sep 11, 2018 10:56 AM

    This was answered by Portal Development:

    It's possible to change the activation email token expiry but it requires a change to a file that cannot be customized by the customer. We will enable a configuration option in our next CR. Portal 3.5 CR10 is planned for November 2018.

    The file responsible for sending the activation email is /sitebuilder/installed/pagerules/ajax.xml. You need to add expiryDays="14" to <AccountApprovalXS> in the <PageRule match="/ajax/(accept|reject)-accounts">. The expiryDays attribute defaults to 7 if missing. This file is overwritten when CRs are applied which is why don't support customer modifications.