Manage oAuth2 and Cookies in a same collection

Hi.

For now we have 2 ways to access our APIs: oAuth (mobile) or cookies (web).

In Postman we have created 2 collections: one using oAuth and the other one using cookies.

So we have duplicate all APIs in both collections.

Is there a way to have only one collection capable to use oAuth or cookies on demand?

Many thanks for Your help.

Hi @thegdz.net,

You should be able to use “Authorization” and “Cookies” at collection level to inherit the same for all requests in that collection.

More details are below:

1 Like

Hi @Kurmavatar.

Many thanks again. Will have a look.

1 Like