My Products
Help
kashyap
PARTNER

URGENT: Visma connect invalid grant after expiration

by kashyap

We are facing issue, Connect app setup with 180days expiration. That means refresh token remain same upto 180 days. After completing 180 days all API getting "invalid_grant". Also entry removed from My details > Access token list.


How can we handle this case without involving end user for reauth everything?

 

 

 

kashyap_0-1734608446408.png

 

1 REPLY 1

by Oskar Jansson

Hi,

 

If the refresh token has expired, you can request a new refresh token by using a POST request to the /connect/token endpoint.

Please review the “Refreshing Access Tokens” section on the following page:
Connect ecosystem Knowledge Base - Offline Access: Refreshing Access Tokens:  

 

If this does not help, please provide more information, and I will assist you further.