Hello, I was wondering if oathkeeper can remove headers from an incoming request, from the documentation you can add headers through the
header
mutator but can we remove them ?
f
freezing-needle-9807
11/17/2022, 3:02 PM
Some specific, like authorization or cookies?
l
loud-spoon-23770
11/17/2022, 4:40 PM
to avoid header forgery we would like to drop the header on incoming requets, so that only oathkeeper can set it during the mutators and to ensure that if the header is present it must be from oathkeeper and it can be trusted
f
freezing-needle-9807
11/18/2022, 9:29 AM
If you setup the same header name, it should overwrite the existing (incoming) header