Hi,
We have a Rest API using Cookie Authentication similar to this.
I created a workflow that includes 2 requests, for which I selected “Proxy the request to bypass CORS issues”:
- Login to our server, sending the user/password credentials. The request succeed. This means the JSESSIONID cookie is set in the response (weweb server side)
- Fetch a collection. I see in the browser dev tools that the “credentials”: “include” is set, which make me think the cookies should be sent with the request. The request fails as 401 (Unauthorized).
Is it expected?
Another solution would be to get the JSESSIONID cookie from the login response, and use it in the fectch collection. Unfortunatly this is not returned in the weweb response.
Any hints?