Hi. I have two Nestjs applications running. One is configured as a mercurius gateway and the other one as mercurius federation service. The gateway passes my queries to the service and the service responds correctly.
Now I want to add an Auth Guard to my service. My idea was to get some JWT access token from my service and store it in a cookie / header and pass that information through the gateway to the client. When the client sends the next request, the gateway passes the Information to the service and the service can use the auth guard with that Information.
My problem here is, that I cannot pass that Information through the gateway. I can set cookies directly in the gateway and the client receives it. But with the next request passed through the gateway to the service, the service doesn't get any Information about the clients cookie.
So my question is: How can i send cookies and header information from a client through the gateway to the service?