# Security issue: Revoking access - access token not revoked

**URL:** <https://community.hubspot.com/t/security-issue-revoking-access-access-token-not-revoked/116171>\
**Category:** APIs & Integrations\
**Tags:** professional\
**Created:** [September 11, 2024, 4:18pm UTC](https://community.hubspot.com/t/security-issue-revoking-access-access-token-not-revoked/116171 "2024-09-11T16:18:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rfulton](https://avatars.discourse-cdn.com/v4/letter/r/ec9cab/32.png) [@rfulton](https://community.hubspot.com/u/rfulton)\
**Post date:** [September 11, 2024, 4:18pm UTC](https://community.hubspot.com/t/security-issue-revoking-access-access-token-not-revoked/116171/1 "2024-09-11T16:18:22Z")

</div>

I’ve been testing out a connection to a 3rd party app. When I revoke access to the app in my Hubspot account settings, I can still make successful API calls for around 20 mins. Looks like the access token is not revoked and I only start to get failures when it needs to be refreshed.

Access via API should be revoked immediately when the app is disconnected.

---

<div class="post-metadata">

**Author:** ![KhushbooP11](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/khushboop11/32/8252_2.png) [@KhushbooP11](https://community.hubspot.com/u/KhushbooP11)\
**Post date:** [September 11, 2024, 6:06pm UTC](https://community.hubspot.com/t/security-issue-revoking-access-access-token-not-revoked/116171/2 "2024-09-11T18:06:06Z")

</div>

Hi @rfulton,

When you revoke access to a third-party app in HubSpot, the existing access token remains valid until it expires (typically 15-20 minutes). This delay happens because the token isn’t immediately invalidated; it only fails once it tries to refresh.

For immediate revocation, ensure your system checks token status before sensitive actions, or manually expire the token if possible. This is a common behavior with OAuth tokens, but important for security awareness.

I hope it helps, let me know if you need to [talk](https://calendly.com/khushboo-pokhriyal/30min?month=2024-08)!

Khushboo Pokhriyal

Growth & Operations

GroRapid Labs

[LinkedIn |](https://www.linkedin.com/in/khushboopokhriyal)9315044754 | [Email |](mailto:khushboo.pokhriyal@grorapid.com)[Website](https://www.grorapidlabs.com/)
