# Multiple active access token

**URL:** <https://community.hubspot.com/t/multiple-active-access-token/12505>\
**Category:** APIs & Integrations\
**Tags:** oauth\
**Created:** [December 19, 2018, 6:39am UTC](https://community.hubspot.com/t/multiple-active-access-token/12505 "2018-12-19T06:39:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/system/32/124_2.png) [@system](https://community.hubspot.com/u/system)\
**Post date:** [December 19, 2018, 6:39am UTC](https://community.hubspot.com/t/multiple-active-access-token/12505/1 "2018-12-19T06:39:38Z")

</div>

Hi Team,  
I am using Contacts API to create/update the contact in Hubspot whenever new login created/updated on our website. I am planning to deploy this app on AWS lambda and I am using OAuth to access Hubspot API. so my question is can we have multiple active access token using same refresh key because there might be the possibility that AWS start multiple instances of my App?

I believe token will expire only after ‘expire\_in’, It should not expire even if I refresh access key before ‘expire\_in’.

---

<div class="post-metadata">

**Author:** ![IsaacTakushi](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/isaactakushi/32/70387_2.png) [@IsaacTakushi](https://community.hubspot.com/u/IsaacTakushi)\
**Post date:** [December 20, 2018, 6:00pm UTC](https://community.hubspot.com/t/multiple-active-access-token/12505/2 "2018-12-20T18:00:37Z")

</div>

Hey, [@vipultiwari](https://community.hubspot.com/u/vipultiwari).

Yes, you are correct. You can generate and use multiple OAuth tokens from the same refresh token. Refreshing a token with [this endpoint](https://developers.hubspot.com/docs/methods/oauth2/refresh-access-token) will _not_ automatically invalidate previous access tokens created with the same refresh token.

I tested and confirmed with my own app!

---

<div class="post-metadata">

**Author:** ![tango19](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/tango19/32/44643_2.png) [@tango19](https://community.hubspot.com/u/tango19)\
**Post date:** [November 23, 2019, 11:42pm UTC](https://community.hubspot.com/t/multiple-active-access-token/12505/3 "2019-11-23T23:42:27Z")

</div>

Hi,

Did you get this going?

I would like to achive the same.

Thanks

Todd
