Cannot authenticate using Cookie Authentication

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?

Any help on this? This is critical for us to authenticate to our API.

Are you sending the cookie using the send credentials toggle?

Nop. Since I enabled “Proxy the request to bypass CORS issues” this toggle is not visible.

Any other thoughts about this?
We need to know if this kind of authentication is possible with weweb, or not.
We don’t see how we could workaround this.
Please advice. Thanks!