# Authentication

**URL:** <https://community.hubspot.com/t/authentication/92913>\
**Category:** APIs & Integrations\
**Tags:** developer, free\
**Created:** [October 31, 2023, 10:15am UTC](https://community.hubspot.com/t/authentication/92913 "2023-10-31T10:15:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![SVaidya0](https://avatars.discourse-cdn.com/v4/letter/s/50afbb/32.png) [@SVaidya0](https://community.hubspot.com/u/SVaidya0)\
**Post date:** [October 31, 2023, 10:15am UTC](https://community.hubspot.com/t/authentication/92913/1 "2023-10-31T10:15:22Z")

</div>

Is authentication token generation API same for all products?

all products means ,marketing hub, sales, operation customer service, CMS.

---

<div class="post-metadata">

**Author:** ![SergioBarragan](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/sergiobarragan/32/55610_2.png) [@SergioBarragan](https://community.hubspot.com/u/SergioBarragan)\
**Post date:** [October 31, 2023, 1:47pm UTC](https://community.hubspot.com/t/authentication/92913/2 "2023-10-31T13:47:58Z")

</div>

Hi @SVaidya0

Yes, you can use the same token. You just need to update the scopes:  
[Legacy private apps - HubSpot docs](https://developers.hubspot.com/docs/api/private-apps#:~:text=Click%20the%20Scopes%20tab.,app%20in%20the%20top%20right).  
The best practice is to create a private app for a specific functionality so if the token ends up in other hands they won’t have access to all your account.
