I have tried to store the Access Key, Refresh Token as VARCHARS and TTL as INT,
but couldn’t find a way to use them again without php session.
I have also tried to store the serialized token and reuse it and didn’t succeed.
I then tried to save the _SESSION['token'] to the database and then manually set the _SESSION[‘token’] to the one stored on the database with the exact serialzied value, but it didn’t work as well.
I am using the latest PHP SDK, and I am trying to eliminate the need in re-authorising my app on Infusionsoft.
Could you kindly help me to better understand the way of managing the Access/Refresh Tokens?