Skip to content
Discussion options

You must be logged in to vote

Yes, if the sections are folders inside one collection. Set OAuth2 once on the collection and let everything below it inherit:

  1. Open the collection settings, go to Auth, and configure OAuth2 there.
  2. On each section folder, set Auth to Inherit.
  3. Leave requests on Inherit (the default for new ones).

At send time Bruno walks from the request up through its folders and uses the closest folder with a real auth mode, falling back to the collection's auth (mergeAuth in collection.js). Only inherit is skipped on the way up, so a folder set to No Auth stops the chain. Make sure the folders say Inherit, not No Auth. New folders are already created with Inherit (actions.js), so you'd mostly be switch…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@pkfox
Comment options

Answer selected by pkfox
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants