# Collection and request authorization

**URL:** <https://community.postman.com/t/collection-and-request-authorization/8113>\
**Category:** Help Hub\
**Tags:** collections\
**Created:** [October 1, 2019, 9:59pm UTC](https://community.postman.com/t/collection-and-request-authorization/8113 "2019-10-01T21:59:57Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![sintayehutib](https://avatars.discourse-cdn.com/v4/letter/s/4bbf92/32.png) [@sintayehutib](https://community.postman.com/u/sintayehutib)\
**Post date:** [October 1, 2019, 9:59pm UTC](https://community.postman.com/t/collection-and-request-authorization/8113/1 "2019-10-01T21:59:57Z")

</div>

I am new to Postman.

I am working on automating configuration deployment on Cisco nexus switches. I am able to login and execute commands using API calls on individual devices. Each device on separate collection.

But, I want to run all requests at once by creating folders in the collection using the runner. I get 200 ok for the login request but 403 forbidden for the actual codes. I know it requires more detail. I will explain up on request. Appropriate any help.

---

<div class="post-metadata">

**Author:** ![danny-dainton](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/danny-dainton/32/29401_2.png) [@danny-dainton](https://community.postman.com/u/danny-dainton)\
**Post date:** [October 2, 2019, 7:40am UTC](https://community.postman.com/t/collection-and-request-authorization/8113/2 "2019-10-02T07:40:27Z")

</div>

Hey @sintayehutib,

Welcome to the Community 🚀

Are you storing a token or any Auth details from the Login request, to Authenticate the other requests in the Collection?

---

<div class="post-metadata">

**Author:** ![sintayehutib](https://avatars.discourse-cdn.com/v4/letter/s/4bbf92/32.png) [@sintayehutib](https://community.postman.com/u/sintayehutib)\
**Post date:** [October 2, 2019, 8:00pm UTC](https://community.postman.com/t/collection-and-request-authorization/8113/3 "2019-10-02T20:00:34Z")

</div>

No I did not store a token. But, saved the request after login.

---

<div class="post-metadata">

**Author:** ![amycancode](https://avatars.discourse-cdn.com/v4/letter/a/9f8e36/32.png) [@amycancode](https://community.postman.com/u/amycancode)\
**Post date:** [October 3, 2019, 5:20pm UTC](https://community.postman.com/t/collection-and-request-authorization/8113/4 "2019-10-03T17:20:03Z")

</div>

I worked through a similar scenario today. I used this as my guide and was able to get all my tests working. [https://blog.getpostman.com/2014/01/27/extracting-data-from-responses-and-chaining-requests/](https://blog.getpostman.com/2014/01/27/extracting-data-from-responses-and-chaining-requests/)

For me, any auth related data that I needed in my subsequent requests, I needed to explicitly save to an environment variable after the auth request, and then use those vars in the other requests. Hope it helps!
