-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] Cannot override Collection Basic Auth with request specific Bearer Token #960
Comments
You can fix this by using the Collection's Headers tab and add a Then every request inside of this collection will use that same header for its authentication. This is not the most ideal solution but fortunately others have voiced this issue too in #816 and it should be fixed in #907. |
@kpau if you're able, please try out my feature branch https://github.com/btgs-0/bruno/tree/feature/auth-from-collection and let me know if it works for you |
@n00o , Thanks for the info. But my issue is a bit different compared to #816. I understand that @btgs-0 , Thanks for the PR. If I have time today, I'll test the branch. Even if the issue is fixed with this PR, it is good to have both issues documented for future reference. Edit: I tested the PR and it resolves my issue. Thanks! |
It appears that #1667 addresses this by explicit requirement of inheritance. |
Closing this issue as the PR implementing the feature has already been merged. Check out this #816 (comment) comment demonstrating the PR's behavior. |
I have a collection with Auth set to
Basic Auth
:In the collection there is a GET Request, which has a
Bearer Token
auth:When I execute the request and observe the "Timeline" tab on the right, I see that it still uses the
Basic Auth
credentials:I would expect that it will use the
Bearer Token
Auth specified in the request.If I disable the Collection Auth (set it to
No Auth
), then the request correctly uses theBearer Token
auth:I am using Bruno v1.1.1
The text was updated successfully, but these errors were encountered: