Closed pkqk closed 1 year ago
Headers listed in the allowed-headers field of the plugin config will be passed from the client request to downstream services. This allows passing information like Authorization headers or custom information.
allowed-headers
Authorization
{ "plugins": [ { "name": "headers", "config": { "allowed-headers": ["Authorization"], } } ] }
Addresses #212 raised by @codedge.
Dang, that is exactly the plugin I wrote a couple of days ago 😄
@codedge yeah it's pretty simple, you don't have to maintain your own one now though 😄 .
Headers listed in the
allowed-headers
field of the plugin config will be passed from the client request to downstream services. This allows passing information likeAuthorization
headers or custom information.Addresses #212 raised by @codedge.