Views:

Behavior: 
Cookie authentication does not work with MS FLOW when using the REST API. 

Solution:
If you would like to authenticate with the DocuWare REST API, you need to handle the returned cookies from the authentication request.

Unfortunately, MS Flow cannot handle deletion cookies like this;
Set-Cookie: .DWPLATFORMAUTH=; path=/; expires=Thu, 01 Jan 1970 00:00:00 GMT;
(Setting expiration date into the past)

You need to transform the cookies and remove the “deletion” DocuWare cookies:

  • .DWPLATFORMAUTH=;
  • DWPLATFORMBROWSERID=;

Set the transformed cookie string again to the next request.

KBA is applicable for both Cloud and On-premise Organizations.