Hi All,
I need to integrate Salesforce with Loopio (another tool) via API. For that I have generated an access token but that token is getting expired in 1 hour. I read many docs on internet that we cannot increase the lifetime of the access token. So how can I connect the two applications without regenerating the acess token again and again. I want to build automation in SF using the integration.
#Salesforce Developer #Developer Forums #Net Development #Integration #Trailblazer #TrailblazerCommunity
So if i understand correctly, you are calling Loopio API to get some data or send some data. In that case, Loopio is the one which will control the access token expiry(may have some config within app). Also I have seen some JWT based integration where you can set token validity while creating JWT before calling token endpoint. If token expiry control option is not available for some reason, you could build code to cache token along with datetime somewhere. Every time you want to call API, check for validity date/time, if its expired , regenerate it. If not, keep using it. Hope this makes sense.