Skip to content

Auth inheritance

Auth inheritance lets you configure credentials once on a collection or folder instead of on every request. Each request in a collection chooses whether to inherit that auth, use its own, or send none.

When a request is saved in a collection, its Auth tab shows an Authorization selector with three modes:

Mode Behavior
Inherit Uses the auth of the nearest folder or collection above the request that has auth configured. See How Nouto finds inherited auth.
No Auth Sends no auth, even when a folder or collection above has auth configured.
Own Auth Uses the auth configured on the request itself. This is the default.

Requests start in Own Auth mode, including requests you create in a collection and requests imported from other tools. Switch each request that should use shared credentials to Inherit.

With Inherit selected, the tab shows Using auth from and the collection name. With No Auth selected, it shows No authentication will be sent. The auth fields appear only in Own Auth mode.

The Auth tab of a request saved in a collection: Inherit selected under Authorization, and the line Using auth from My API

  1. In the sidebar, right-click the collection or folder and select Settings….
  2. On the Auth tab, select a type from the Type dropdown and fill in the fields.
  3. Click Save.

The Folder Settings panel for a Users folder: the Auth tab with Basic Auth selected and the Username and Password fields

Folders and collections don’t have an inheritance mode of their own. Once you save auth on a folder, that folder provides auth to the inheriting requests inside it.

For a request in Inherit mode, Nouto checks the request’s ancestors from the nearest folder upward:

  1. The first folder with saved auth settings provides the auth.
  2. If no folder above the request has saved auth settings, the collection’s auth is used.
  3. If the collection has no auth either, the request sends no auth.

In this collection, the collection has Bearer auth, Folder A has never had its settings saved, and Folder B has Basic auth saved:

Collection (Bearer Token)
└── Folder A (settings never saved)
└── Request 0 (Inherit → collection's Bearer Token)
└── Folder B (Basic Auth saved)
└── Request 1 (Inherit → Folder B's Basic Auth)
└── Request 2 (Own Auth: API Key → its own key)
└── Request 3 (No Auth → no auth)

When you import a Postman collection, Nouto keeps the auth configured on the collection. The desktop app also keeps the auth configured on folders. The VS Code extension doesn’t import folder auth, so set it again in each folder’s Settings….

Postman requests that inherit auth from their parent are imported in Own Auth mode with No Auth selected. Switch them to Inherit after the import.