Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Integrate Webfocus with our existing application
Go
New
Search
Notify
Tools
Reply
  
[CLOSED] Integrate Webfocus with our existing application
 Login/Join
 
Member
posted
Hi,

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 ::::

$.ajax({
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
.success(function(response){
var $result = $(response).find('auth_result>result');
IBI_CSRF_Token_Name = $result.attr('CSRFTokenName');
IBI_CSRF_Token_Value = $result.attr('CSRFTokenValue');
loadPages();
});

This message has been edited. Last edited by: FP Mod Chuck,
 
Posts: 2 | Registered: February 07, 2019Reply With QuoteReport This Post
Member
posted Hide Post
I tried with method type GET and with out destination.
 
Posts: 2 | Registered: February 07, 2019Reply With QuoteReport This Post
Virtuoso
posted Hide Post
Praveen

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
 
Posts: 1427 | Location: Customer Support | Registered: April 12, 2005Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Integrate Webfocus with our existing application

Copyright © 1996-2018 Information Builders, leaders in enterprise business intelligence.