# Requests won't adopt auth-method from collection

**URL:** <https://community.postman.com/t/requests-wont-adopt-auth-method-from-collection/17022>\
**Category:** Help Hub\
**Tags:** variables, collections, authentication\
**Created:** [October 23, 2020, 8:47am UTC](https://community.postman.com/t/requests-wont-adopt-auth-method-from-collection/17022 "2020-10-23T08:47:53Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Max4](https://avatars.discourse-cdn.com/v4/letter/m/c68b51/32.png) [@Max4](https://community.postman.com/u/Max4)\
**Post date:** [October 23, 2020, 8:47am UTC](https://community.postman.com/t/requests-wont-adopt-auth-method-from-collection/17022/1 "2020-10-23T08:47:53Z")

</div>

Hi,  
I have set up a collection and set the authorization method to “Basic Auth” and entered variables as credentials.  
When I look at the folders’ settings the authentication method set by default is “Inherit auth from parent” but the individual requests all have their authentication method set to “Basic Auth” and the credentials are as it seems some default ( and ).  
What can I do to make the individual request inherit the authentication method + credentials from the collection’s settings without having to set it to “Inherit auth from parent” manually?

Regards  
Max

---

<div class="post-metadata">

**Author:** ![odanylewycz](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/odanylewycz/32/3240_2.png) [@odanylewycz](https://community.postman.com/u/odanylewycz)\
**Post date:** [October 23, 2020, 11:18am UTC](https://community.postman.com/t/requests-wont-adopt-auth-method-from-collection/17022/2 "2020-10-23T11:18:50Z")

</div>

Hi @Max4,

Welcome to the community! 👏

So by default, each new request should “inherit auth from parent”, at which would be inheriting auth from the collection. So at some point, it must have been changed manually to set those individual requests.

To my knowledge, there is no bulk way to change the authentication mechanism for each individual request in a bulk fashion. However, if you were interested in doing some scripting, you can hypothetically change all of these request authorizations by exporting the collection, then writing a script to read the json of the exported collection (thats all the collection is, just metadata in json), and then set the authorization to inherit from parent.

I have not done this personally, but from what I know, it should theoretically be possible.

Hope this helps!  
Orest

---

<div class="post-metadata">

**Author:** ![Max4](https://avatars.discourse-cdn.com/v4/letter/m/c68b51/32.png) [@Max4](https://community.postman.com/u/Max4)\
**Post date:** [October 23, 2020, 11:34am UTC](https://community.postman.com/t/requests-wont-adopt-auth-method-from-collection/17022/3 "2020-10-23T11:34:16Z")

</div>

Yes this has been helpful, thank you. If I find the time I will give it a try.

---

<div class="post-metadata">

**Author:** ![odanylewycz](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/odanylewycz/32/3240_2.png) [@odanylewycz](https://community.postman.com/u/odanylewycz)\
**Post date:** [October 23, 2020, 11:56am UTC](https://community.postman.com/t/requests-wont-adopt-auth-method-from-collection/17022/4 "2020-10-23T11:56:25Z")

</div>

Hi @Max4,

Sure! let us know if it works.
