You are viewing limited content. For full access, please sign in.

Question

Question

Custom Forms API

asked on July 19, 2023

We have a customer that is busy developing a customized API for Forms where he would like to use the Laserfiche Authentication Cookie information for API authentication.

This means that he needs to be able to access the STSAuth cookie Content to use as the Authentication Key, which he is not able to do directly via JavaScript or jQuery.

There is a Forms webAPI extension that the application itself uses, however, since the STS cookie referenced iabove Is set to httpOnly, He cannot access the cookie value.

Is there anybody who could point me in the right direction to provide a solutions for the customer?

0 0

Replies

replied on July 20, 2023

Hi David,

Are you trying to call Forms api using custom javascript inside a form?

If so, the authentication cookie will be automatically appended to the request if the user accessing the form has already logged in to Forms.

1 0
You are not allowed to follow up in this post.

Sign in to reply to this post.