# Replace the env variable value from Authorisation token value

**URL:** <https://community.postman.com/t/replace-the-env-variable-value-from-authorisation-token-value/64065>\
**Category:** Help Hub\
**Tags:** authentication, oauth2, oauth2-token\
**Created:** [July 14, 2024, 1:40pm UTC](https://community.postman.com/t/replace-the-env-variable-value-from-authorisation-token-value/64065 "2024-07-14T13:40:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rajirudhra](https://avatars.discourse-cdn.com/v4/letter/r/b3f665/32.png) [@rajirudhra](https://community.postman.com/u/rajirudhra)\
**Post date:** [July 14, 2024, 1:40pm UTC](https://community.postman.com/t/replace-the-env-variable-value-from-authorisation-token-value/64065/1 "2024-07-14T13:40:13Z")

</div>

Hi, I am new to Postman, I have a situation to set the environment value while authorising a token. using OAuth2.

 ![image](https://us1.discourse-cdn.com/getpostman/original/3X/9/1/913e43fbe71afb5706c2604d863c3b73967b8ae3.png)

I wanted to replace the number in the token on one of the environment variable values. It will change whenever I authorise it.

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/system/32/29796_2.png) [@system](https://community.postman.com/u/system)\
**Post date:** [August 13, 2024, 1:40pm UTC](https://community.postman.com/t/replace-the-env-variable-value-from-authorisation-token-value/64065/2 "2024-08-13T13:40:17Z")

</div>

Closed on August 13, 2024, 1:40pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
