Navigate with Header
Navigate with Header
We have requirements to navigate to a website with Authorization Header. Does anyone know how to do that in LANSA?
Re: Navigate with Header
Hi Sailor, What are you trying to do once you are done with the navigating and arrive to that port? Do you want to show the website or are you expecting to find a json/xml content or similar to work/download?
Re: Navigate with Header
Thanks Dino
Sorry for replying so late
The first step is to invoke a client URL request with a JWT token issued in LANSA (like a cURL request). As result we get back a cookie back from a firewall. The second step is to use this cookie or some cookie properties to navigate to a specific URL.
I think we have to create a javascript and integrate that in a widget.
Sorry for replying so late
The first step is to invoke a client URL request with a JWT token issued in LANSA (like a cURL request). As result we get back a cookie back from a firewall. The second step is to use this cookie or some cookie properties to navigate to a specific URL.
I think we have to create a javascript and integrate that in a widget.