Focal Point
[CLOSED] Integrate Webfocus with our existing application

This topic can be found at:

February 18, 2019, 06:57 AM
Praveen Mora
[CLOSED] Integrate Webfocus with our existing application

Can someone help me on how to integrate webfocus with my existing aplication using trusted ticket authentication, tried with documentation but i'm getting 403 when i send token in http request.

::::: Below is my code ::::

contentType: "text/xml;charset=UTF-8",
// must set the withCredentials option or the WebFOCUS session cookie won't be passed on the redirect to wf_csrf_check.jsp in Cross-Domain scenarios
xhrFields: {
withCredentials: true
crossDomain: true,
type: "POST",
url: webfocusHost + '/service/wf_security_trusted.jsp?IBIB_appname=' + trustedAppName + '&IBIB_ticket=' + trustedTicket+'&IBIB_destination= /ibi_apps/welcome' ,
dataType: 'xml',
async: false
.error(function(jqXHR, textStatus, errorThrown){
// debugger;
// alert(textStatus);
// loadPages();
// trusted ticket signon response includes the CSRF now so no need to call wf_csrf_check.jsp
var $result = $(response).find('auth_result>result');
IBI_CSRF_Token_Name = $result.attr('CSRFTokenName');
IBI_CSRF_Token_Value = $result.attr('CSRFTokenValue');

This message has been edited. Last edited by: FP Mod Chuck,
February 18, 2019, 06:58 AM
Praveen Mora
I tried with method type GET and with out destination.
February 19, 2019, 12:41 PM
FP Mod Chuck

I think you should open a case with techsupport they will probably need some traces to debug this issue.

Thank you for using Focal Point!

Chuck Wolff - Focal Point Moderator
WebFOCUS 7x and 8x, Windows, Linux All output Formats