# Postman Implicit call, unable to store token in variable

**URL:** <https://community.postman.com/t/postman-implicit-call-unable-to-store-token-in-variable/25521>\
**Category:** Help Hub\
**Tags:** variables, oauth2, oauth2-token\
**Created:** [July 6, 2021, 1:15pm UTC](https://community.postman.com/t/postman-implicit-call-unable-to-store-token-in-variable/25521 "2021-07-06T13:15:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![godrej.wadia](https://avatars.discourse-cdn.com/v4/letter/g/db5fbb/32.png) [@godrej.wadia](https://community.postman.com/u/godrej.wadia)\
**Post date:** [July 6, 2021, 1:15pm UTC](https://community.postman.com/t/postman-implicit-call-unable-to-store-token-in-variable/25521/1 "2021-07-06T13:15:25Z")

</div>

I am trying save auth token received from OAuth2 Implicit flow into an environment variable.  
This is not happening automatically. Below are 2 screen shots which depict the same.

I tried multiple ways to use same ‘Token Name’ as variable name and even use ‘Test’ script to store output value from it into my environment variable. But no luck.

OAuth 2 Implicit flow token in Postman:

 ![image](https://us1.discourse-cdn.com/getpostman/original/3X/5/c/5c9e22ac8450eb90878f1b24362eb0822718db07.png)

Environment Variable still empty:

 ![image](https://us1.discourse-cdn.com/getpostman/original/2X/6/64a4b14bb2f7291058dc1633c478cc989c192f8c.png)

Please let me know if I am missing any steps or there is some other way to achieve.
