I have a NestJS application which acts as a proxy between a front-end and multiple other back-ends.
I basically want to be able to pass a specific header (Authorization) from incoming @Req (requests) in the controller to the HttpService that then talks to the other back-ends.
user controller (has access to request) -> user service (injects httpService that somehow already picks the Authorization header) -> External backends.
Right now I need to extract the token from @Headers and then pass token to service which has to paste it to all HttpService calls.
Thanks in advance!