Question

3
Replies
1953
Views
Anil2015021 Member since 2015 2 posts
PEGA
Posted: November 9, 2017
Last activity: November 14, 2017
Closed

Logoff the external user from mashup and redirect to login page

HI,

We have a portal exposed through Mashup. On click of log off button, the external user logged in should be logged off and the login page should appear. Below is my configuration.

<a href="http://hostname:9080/prweb/PRServletCustom" onclick="doLogoff()" <span class="menu-item-title-wrap" data-click=".">
<span class="strong-text-muted" data-click="..">Login</span></span></a>

function doLogoff(){
pega.web.api.doAction("PEGAGADGETLOGOFF", "logoff");
return true;
}
<section class="portal-config-section">
<div id='pegacontent'
data-pega-gadgetname ='PEGAGADGETLOGOFF'
data-pega-action ='logoff'
data-pega-isdeferloaded ='true'
data-pega-applicationname ='ABC'
data-pega-threadname ='STANDARDTHREE'
data-pega-resizetype ='stretch'
data-pega-event-onload ="window.scrollTo(0,0)"
data-pega-action-param-parameters ='logoff'></div>
</section>
The issue is I am not able to see the login screen instead blank screen is getting appeared. Also, I could see the below warning in logs.
URLAccessModeWarn:URLAccessPermitted URLAccessDetail CSRFAttack Missing harness ID

Could anyone help me out?

Many thanks in advance!

Data Integration System Administration
Moderation Team has archived post
Share this page LinkedIn