postman-app-support icon indicating copy to clipboard operation
postman-app-support copied to clipboard

VS Code extension does not respect 'Inherit auth from parent' setting

Open BieleckiLtd opened this issue 1 year ago • 0 comments

Is there an existing issue for this?

  • [X] I have searched the tracker for existing similar issues and I know that duplicates will be closed

Describe the Issue

In Postman desktop when I set 'Inherit auth from parent' it adds Authorization header. When I do the same in the plugin I can see 'This request is using Basic Auth from collection XYZ' message but Authorization header is not being added and I get 403. When I set Basic Auth directly in my request, header is being correctly added.

Steps To Reproduce

  1. Create Environment, add User and Password variables
  2. Create Collection, set Basic Auth, use env variables
  3. Create Request, set 'Inherit auth from parent'
  4. Send request -> receive 401 or 403

Screenshots or Videos

No response

Operating System

Windows

Postman Version

0.18.0

Postman Platform

Other

User Account Type

Signed In User

Additional Context?

No response

BieleckiLtd avatar Feb 13 '24 13:02 BieleckiLtd