Login 24/7 Support Community

6. Header Forwarding

Min Version: Tyk v3.2.0

You’re able to configure upstream Headers dynamically, that is, you’re able to inject Headers from the client request into UDG upstream requests. For example, it can be used to access protected upstreams.

The syntax for this is straight forward:

{{.request.headers.someheader}}

In your data sources, define your new Header name and then declare which request header’s value to use:

Forwarding Headers

That’s it!