# How to add custom headers to the builtin OAuth token request?

**URL:** <https://community.postman.com/t/how-to-add-custom-headers-to-the-builtin-oauth-token-request/9580>\
**Category:** Help Hub\
**Tags:** oauth2\
**Created:** [December 12, 2019, 11:01pm UTC](https://community.postman.com/t/how-to-add-custom-headers-to-the-builtin-oauth-token-request/9580 "2019-12-12T23:01:52Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [December 13, 2019, 2:19pm UTC](https://community.postman.com/t/how-to-add-custom-headers-to-the-builtin-oauth-token-request/9580/2 "2019-12-13T14:19:32Z")

</div>

It seems like the API you are hitting might not be following OAuth 2.0 norms. I don’t think there is a way to add the header to the built-in mechanism, but you can check out this article to add a pre-request script to your collection that will effectively do the same thing. Of course you will have to add the header into the request you are building, but that’s not too bad.

> [@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-add-custom-headers-to-the-builtin-oauth-token-request/9580)._
