SorinSologics2019SorinSologics2019 MemberComments: 15 Received thanks: 1 Member since: July 2019

Hello,

We notice that the expiration time for bearer API access token is 600 sec.

Does anyone how to increase this expiration time?

Best regards,

Sorin

 

Answers

  • CallMeAlexCallMeAlex MemberComments: 80 Received thanks: 14 Member since: January 2020

    Just save the timestamp when the token is running out. Before every request just check if the expiresdate < current_date, if yes just logging again and save the new token.

Sign In or Register to comment.