Question
Tcs
IN
Last activity: 19 Jun 2018 11:24 EDT
How to configure IAC Authentication
I am trying with webmash where I have an HTML page in which I am getting inputs for UserName and Password. I have used below Gateway URL configuration and Div code.
pega.web.config.gatewayURL="http://xxx.eee.fff:yyy/prweb/IAC"; //YOUR PRPC SERVER GOES HERE
pega.web.config.appName="xxAPP";
pega.web.config.systemID="default";
pega.web.config.thread="STANDARD";
pega.web.config.encrypt=false;
<div id="PegaSample" style="overflow:auto;width:100%;height:500px;"
PegaGadget="MyPegaSampleGadget"
PegaA="createNewWork"
PegaA_className="xxxclass"
PegaA_flowName="yyyflow"
PegaA_params='{"UserIdentifier":"<%= request.getParameter("UserIdentifier") %>",,"Password":"<%= request.getParameter("Password") %>"}'
>
In this I am able to enter username and password and once form is submitted, again I am triggered with Pega screen where it asks for username and password inside the webpage. Once I have give with credentials, entire web application is replaced with Pega portal. Can someone help me to resolve this issue?
I need Pega screen to be opened inside the web application from where I have launched Pega.
***Moderator Edit: Vidyaranjan | Updated Categories***
Hello Sangeetha,
Can you please let us know the version of Pega used at your end.
Can you review the below post once which seems to be similar to yours.
https://collaborate.pega.com/question/pega-mashup-redirecting-pega-screen-instead-opening-div
Prior to version 7.2.1 of the Pega 7 Platform, a custom set of attributes was used in the mashup code. In version 7.2.1 and later of the Pega 7 Platform, new attributes are used that are HTML5-compliant.
If you on a version lower than Pega 7.2.1 then use the following.
PegaA_params={UserIdentifier:"xxxx",Password:"base64 encoded (xxxx)"}
Let us know if it does not help.
Thanks!