Fetch API follows redirects but drops the original headers
@lebyy▲ 0 net votes
A fetch to an endpoint that 307-redirected lost the Authorization header. Browsers strip sensitive headers on cross-origin redirects; pass credentials or handle the redirect manually with redirect: "manual".