Support Article

Retrieve HTTP header parameters in authentication activity



Since PRPC 7.2.1 the way to retrieve HTTP header parameters have change. In 7.1.10 we send parameters throught GET or POST method and OOTB activity like IACAuthentication can retreive them. The same code does not work 7.2.1.

Error Messages

Not Applicable 

Steps to Reproduce

  1. Generate the Mashup code from integration in the setting tab of a case type.
  2. Run the Mash up code in any HTML File.

Root Cause

An issue in the custom application code or rules had caused the reported behaviour.


Perform the following local-change: 

Add the below code in the generated mashup code to resolve the issue:
    pega.web.api.setAuthenticationParameters("PegaGadget",{UserIdentifier: "UserName"}); 

Published December 23, 2016 - Updated January 3, 2017

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.