Require a Login for Customer Portal Pages

You can add a login requirement to any customer portal page to require that customers be authenticated through the external login page before accessing the customer portal page.

Note: The CP_FORCE_PASSWORDS_OVER_HTTPS configuration setting requires all logged-in customer portal activity to occur over HTTPS. If this setting is enabled, which it is by default, pass-through authentication requests must be sent using HTTPS to ensure that information is being sent securely.
  1. To require login on the Support Home page, edit the home.php file by adding login_required="true" to the meta tag line of the page code. Your modified code might look like the following:
    <rn:meta title="#rn:msg:SHP_TITLE_HDG#" template="standard.php" clickstream="home" login_required="true" />
  2. To require a login on for any of these pages, edit the page’s.php file to add login_required="true" to the meta tag line of the page code as you did in the previous step.
    • error.php – Prevents customers from seeing PTA-specific error codes.

    • answers/detail.php – Prevents customers from viewing answer details.

    • answers/list.php – Prevents customers from viewing the Answers page.

    • chat/chat_landing.php – Prevents customers from participating in a chat session with an agent.

    • chat/chat_launch.php – Prevents customers from requesting a chat session.

  3. If you have specified a value for PTA_EXTERNAL_LOGIN_URL, repeat Step 1 for the utils/login_form.php file.
    Caution: Do not edit this file if PTA_EXTERNAL_LOGIN_URL is blank.