Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Retrieve HTTP header parameters in authentication activity

SA-31827

Summary



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.

Resolution



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 January 3, 2017 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

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

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us