SSO login for Webchatbot
While invoke the logoff action through mashup or invoke the logoff activity directly. Both of these would have to be done when the SSO logout is executed.
var xhr = new XMLHttpRequest(); xhr.open("POST", 'https:///prweb/PRChat/app//!CSAdvisor', true); xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded"); xhr.send("pyActivity=%40baseclass.doUIAction&action=logoff&isWebMashup=true");
Getting the below error:
Access to XMLHttpRequest at 'https:///prweb/PRChat/app//!CSAdvisor' from origin 'http://localhost:8080' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
Can you please suggest me what can I do to get resolved?