--
You received this message because you are subscribed to the Google Groups "Chromium Extensions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extens...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/9e97bef8-5658-46c8-b63b-94da5ef45bbdn%40chromium.org.
Hi Sachin,Thanks for bringing this up. It's a really interesting use case.In MV2, I suspect this may be possible by recording the value of the Authorization header when you first see the request, and then re-applying that after the redirect? That may be worth experimenting with.In MV3, I think this would be trickier. If there's any way of knowing the value (by looking at a cookie, having the developer enter it etc.) you could of course set the header using another DNR rule. If that isn't possible, which sounds like it might be the case, this might be something we need to add support for in DNR. I'll ask the team to see if they have any ideas I don't. Otherwise, you could consider opening an issue at https://github.com/w3c/webextensions and we can discuss this in the community group.Thanks,
On Thu, Nov 30, 2023 at 1:01 PM 'Sachin Jain' via Chromium Extensions <chromium-extensions@chromium.org> wrote:
Hi everyone,This is Sachin - Founder & CEO, Requestly - An Open-Source Chrome extension to intercept and modify HTTPs requests.One of the major use cases in Requestly is to redirect API endpoints from production to staging/local dev endpoints. Requestly (right now on MV2) uses webRequest API to do the redirects defined by the users.In Chrome v119 (notes here), the Authorization header is not passed when the fetch request is redirected to a different origin when developers want to redirect API calls from production to staging/local dev endpoints.Here are more details on the Github Issue - https://github.com/requestly/requestly/issues/1208Could you please suggest how to fix the issue in MV2 & MV3 respectively?--
You received this message because you are subscribed to the Google Groups "Chromium Extensions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extensions+unsub...@chromium.org.