# How to set Authentication for all the APIs in my collection

**URL:** <https://community.postman.com/t/how-to-set-authentication-for-all-the-apis-in-my-collection/17397>\
**Category:** Help Hub\
**Tags:** variables, collections, authentication\
**Created:** [November 4, 2020, 8:39am UTC](https://community.postman.com/t/how-to-set-authentication-for-all-the-apis-in-my-collection/17397 "2020-11-04T08:39:59Z")\
**Posts on this page:** 1\
**Showing post:** 13

<div class="post-metadata">

**Author:** ![allenheltondev](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/allenheltondev/32/31738_2.png) [@allenheltondev](https://community.postman.com/u/allenheltondev)\
**Post date:** [November 4, 2020, 12:34pm UTC](https://community.postman.com/t/how-to-set-authentication-for-all-the-apis-in-my-collection/17397/13 "2020-11-04T12:34:46Z")

</div>

Hey @pranavNathcorp,

It looks like you have the wrong Authorization type selected in your collection settings. You should select `Oauth 2.0` instead of `Bearer Token`.

I’m making an assumption that you automatically want to renew the token when it expires? If so, you can refer to the following post on how we generally set that up within Postman.

> [@Medium Article: How to Automate OAuth2 Token Renewal in Postman](https://community.postman.com/t/medium-article-how-to-automate-oauth2-token-renewal-in-postman/6630):
>
> Hey everyone, I have seen on a number of forums and stack overflow articles people expressing their frustration with the manual process Postman has for renewing OAuth2 tokens when they expire. I thought I would share a write up I did to help you get past the manual process and have your tokens renewing automatically. Let me know what you think!

---

_[View the full topic](https://community.postman.com/t/how-to-set-authentication-for-all-the-apis-in-my-collection/17397)._
