HubSpot Developer Changelog

Updated recommendations for storing OAuth access tokens

Written by David Adams | Dec 15, 2023 4:44:27 PM

We're updating our recommendation for storing access tokens to allow tokens to be at least 512 characters in length.

 

Why is this changing?

Access tokens can fluctuate in size based on the information encrypted in the tokens, which continues to grow as we expand the HubSpot platform.

 

When is this happening?

We don't expect to hit 300 characters for access tokens for the next several months, but if the database you use to store tokens is limited to 300 characters, we recommend increasing that limit to at least 512 characters to avoid any potential issues.

Our previous recommendation of 300 characters has been in place since 2018, so we expect 512 characters to give us plenty of room to grow for the foreseeable future.

Please let us know if you have any questions by joining the discussion in our community.