Skip to content

Inherit auth changes from folder, collection in request - #7

Merged
bijin-bruno merged 2 commits into
usebruno:mainfrom
sachin-bruno:sachin-bruno/resolve-inherited-auth
Jul 28, 2026
Merged

Inherit auth changes from folder, collection in request#7
bijin-bruno merged 2 commits into
usebruno:mainfrom
sachin-bruno:sachin-bruno/resolve-inherited-auth

Conversation

@sachin-bruno

Copy link
Copy Markdown
Contributor

Problem
Folder and request auth can be set to inherit, which should use the auth configured on the nearest parent (folder, then collection). The playground should resolve the inherited auth and apply it, for any auth mode.

Proposed Solution
When a folder or request auth mode is inherit, resolve the effective auth by walking request to folder to collection (the closest configured auth wins) and apply the resolved auth using the corresponding auth handling. This works for all auth modes.

BRU-3777

image

@vasharma05-bruno vasharma05-bruno left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please make the one change, else looks good to me!

Comment thread packages/bruno-api-docs/src/utils/request.ts Outdated
@bijin-bruno
bijin-bruno merged commit f699ef9 into usebruno:main Jul 28, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants