Authorization header is not passed with Redirect Request or Replace String
@nsrCodes is already working on this.
Since Mar 15, 2024.
Assessment
This issue has not been assessed yet.
Description
Prerequisites
- Using the latest version of Requestly
Expected Behavior
When I am creating a 'Redirect Request' or 'Replace String' HTTP Rule in the Desktop App it should forward/redirect to the changed endpoint URL. All original header keys and values should be passed.
Current Behavior
All original header keys and values are being passed, except the 'Authorization' header. The 'Authorization' header vanished.
Steps to Reproduce
- Open the Requestly Desktop-app.
- Create Redirect Rule (or a Replace String rule) to forward the request to another endpoint (staging api for example)
- Use any http request with an 'Authorization' header.
- The 'Authorization' header has vanished.
Possible Solution (Not obligatory)
This was also an issue on the Chrome plugin:
https://github.com/requestly/requestly/issues/1208
I noticed that this (https://github.com/requestly/requestly/issues/1208#issuecomment-1801505984) workaround fixed my issue as well for the Desktop Application !
Context
I tested this by sending requests to an PHP file with the following code to see all headers:
$headers = getallheaders();
var_dump($headers);
- 'Replay request' with the Authorization header:
You can see the Authorization header vanished
- 'Replay request' with the Authorization header + Authorization2 header:
You can see the Authorization header vanished, but the Authorization2 header did not.
- 'Replay request' with the Authorization header and this (https://github.com/requestly/requestly/issues/1208#issuecomment-1801505984) workaround applied:
Your Environment
- Operating System and version : Windows 11 23H2
- Dominant language
- TypeScript
- Stars
- 160
- Forks
- 60
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from requestly/http-interceptor-desktop-app
-
question
Difficulty 1/5 Under an hour Newbie friendliness 70/100
-
bug
requestly/http-interceptor-desktop-app#343 · 11 comments · 1 assignee ·
-
[Feature Request] Allow customizing or hiding the primary sidebar (Network, Sessions, Rules, Files) Openenhancement
Difficulty 4/5 3-5 days Newbie friendliness 48/100
-
enhancement
Difficulty 3/5 1-2 days Newbie friendliness 48/100
-
Difficulty 3/5 1-2 days Newbie friendliness 25/100
All issues in requestly/http-interceptor-desktop-app
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
copse-dev/agent-pane#2953 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
bug clawsweeper:linked-pr-open clawsweeper:needs-live-repro clawsweeper:no-new-fix-pr impact:message-loss issue-rating: 🐚 platinum hermit P2 regression
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
calcite-components needs triage refactor
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Esri/calcite-design-system#15203 ·