-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Authorization header is not passed with Redirect Request or Replace String #71
Authorization header is not passed with Redirect Request or Replace String #71
Comments
Thanks so much @totoberg123 for reporting this issue. |
Also, thanks for mentioning the whole context, env, repro steps & all the details. |
If you need more information or test results let me know! Im happy to help. This workaround is not an ideal situation for me sadly. Since the Bearer token changes every hour I have to edit my HTTP Rule manually every 1 hour.. Since the issue is also known (and fixed!) for the Chrome exentension, I hope a fix can come soon to the Desktop App :) |
Prerequisites
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
Possible Solution (Not obligatory)
This was also an issue on the Chrome plugin:
requestly/requestly#1208
I noticed that this (requestly/requestly#1208 (comment)) 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);
You can see the Authorization header vanished
You can see the Authorization header vanished, but the Authorization2 header did not.
Your Environment
The text was updated successfully, but these errors were encountered: