Follow redirects authorization
- Dominant language
- TypeScript
- Stars
- 40k
- Forks
- 2.4k
- Avg merge
- 2d 13h
- Merged PRs (30d)
- 61
Description
### Expected Behavior
When follow redirecting is enabled, follow Authorization header should be an option.
### Actual Behavior
Authorization happens on the first url but the followed urls it does not retail and does not reauthorize.
### Reproduction Steps
_No response_
### Is there an existing issue for this?
- [X] I have searched the [issue tracker](https://www.github.com/Kong/insomnia/issues) for this problem.
### Additional Information
I am switching from Postman over to insomnia and one of our vendor API's does redirects which is fine, but when redirect you have to reauthorize. I just noticed that insomnia doesn't do this and I don't see an option to do so either. So instead, I have to let it fail and then I have to change the url to where we were redirected to and then insomnia works fine.
### Insomnia Version
2023.5.7
### What operating system are you using?
Windows
### Operating System Version
Windows 10 latest updates
### Installation method
downloaded from website
### Last Known Working Insomnia version
_No response_
Contributor guide
Research direction
No source files or tests are identified in the issue. Start by reproducing the redirect flow described against a vendor API, then trace the request handling for followed URLs and Authorization headers. Done means the behavior has a clear option and is covered by a regression test for reauthorization after redirects.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- api, authentication
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100