We migrated our Premise CS 16.2 Environment to MS AZURE CS 21.3. During our migration we ran into some problems with REST API calls within some complex HTML forms. We found out after investigation that the HttpOnly setting was set on our new environment and not in our old environment. This enabled the HTML form to retrieve the LLCookie via a Javascript call. We do this because we support SSO and do not want the user to provide credentials once he/she is logged in. In our forms that are built using Web Reports, we can do the same with [LL_REPTAG_OTCSTICKET QUOTE /] within the Ajax Call. Unfortunately, changing this HTML form which has a lot of relative references to .js and .css libs would be very tedious and undesirable. In the interim, we have disabled the HttpOnly setting and flagged the issue as a medium security threat which we are trying to deal with.
My Question is whether anyone would have some suggestions or guidance.
I have thought of a couple of options:
- The HTML form is called from a Web Report via a formatted GRID with an edit button for each row (record). I could retrieve the OTCS/OTDS Ticket from the WR and pass it as a parameter to the HTML form. This would be relatively easy, but I wonder about passing the security token, but this would be encrypted via SSL/TLS.
- Create a Web Report with one line[LL_WEBREPORT_EXCLUDEHTML /][LL_REPTAG_OTCSTICKET QUOTE /] which will have the token of the user who runs it. That would be great, but I don't know if you can run a WR from a HTML page and retrieve the results.
Any input would be appreciated.
Ed