APIs & Integrations

AbdulQayyum
Member

The Expiration time of Refresh Token in Oauth 2.0?

SOLVE

Hi guys,

As we knew, Hubspot have multiple valid access tokens with refresh token, every access token valid for 30mins but what is the expiration of refresh token?

As said refresh tokens don't expire unless the integration is uninstalled does it mean its for Life time with respect to app integration?

Or if there is any expiration , how can we check it? like 

tokens.expires_in?
0 Upvotes
1 Accepted solution
dennisedson
Solution
Community Manager
Community Manager

The Expiration time of Refresh Token in Oauth 2.0?

SOLVE

@AbdulQayyum 

Refresh tokens do not expire unless the portal uninstalls your app.  Once that happens, we expire the refresh token as you noted. 

Thanks,

Dennis




HubSpot Community Developer ShowMake sure to subscribe to our YouTube channel
where you can find the HubSpot Community Developer Show

View solution in original post

0 Upvotes
1 Reply 1
dennisedson
Solution
Community Manager
Community Manager

The Expiration time of Refresh Token in Oauth 2.0?

SOLVE

@AbdulQayyum 

Refresh tokens do not expire unless the portal uninstalls your app.  Once that happens, we expire the refresh token as you noted. 

Thanks,

Dennis




HubSpot Community Developer ShowMake sure to subscribe to our YouTube channel
where you can find the HubSpot Community Developer Show
0 Upvotes