Skip to content

WebSocket requests don't inherit Auth from parent #9580

@JAZZ-FROM-HELL

Description

@JAZZ-FROM-HELL

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?

Which sync method do you use?

  • Git sync.
  • Insomnia Cloud sync.
  • 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

Metadata

Metadata

Assignees

Labels

B-bugBug: general classificationS-unverifiedStatus: Unverified by maintainer

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions