Ah yeah I wasn't thinking about that. It's natively stripped when executing fetch in the browser environment, I believe. The use case that we previously discussed with RoseRey was specific to workflows, where we ultimately ended up with something like this:
Unfortunately, I think the only official option is to put this logic in a workflow. We're getting pretty close to releasing backend functions, though, which will enable this!
OK, @Darren , Thanks for this(My forum notifications seem to sometimes not notify me when someone responds). Currently most pressing for me is implementation within a workflow anyways so, this is good!
Just to close the loop on everything in this thread - the initial ask has been resolved. Authorization headers are no longer forwarded when automatically following redirects.
We are looking into adding toggles that give builders more granular control, but you can still do something like this if you need to maintain the original functionality.