WebSocket requests don't inherit Auth from parent
- Dominant language
- TypeScript
- Stars
- 40k
- Forks
- 2.4k
- Avg merge
- 2d 13h
- Merged PRs (30d)
- 61
Description
### Expected Behavior
When WebSocket requests are placed under a folder with an Auth / Bearer token and have Auth "Inherit from parent", they should inherit the token in their own auth.
### Actual Behavior
WebSocket requests don't inherit their parent's Auth.
This issue is specific for WS requests - HTTP requests inherit Auth as expected.
### Reproduction Steps
1. In your collection create a folder with Auth > Bearer token and set a valid live token
2. Create a WebSocket request to a live WS endpoint that requires Authorization: Bearer token header.
3. Keep the request Auth as default (Inherit from parent)
4. Connect - Connection will be refused (403 Forbidden)
5. Set the token directly in the request Auth (or in an Authorization header) - Connection will be granted
### Is there an existing issue for this?
- [x] I have searched the [issue tracker](https://www.github.com/Kong/insomnia/issues) for this problem.
### Which sync method do you use?
- [ ] Git sync.
- [ ] Insomnia Cloud sync.
- [x] Local only
### Additional Information
_No response_
### Insomnia Version
12.3.0
### What operating system are you using?
macOS
### Operating System Version
Sequoia 15.6.1
### Installation method
download from insomnia.rest
### Last Known Working Insomnia version
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.