Application losing authorization and scope

in Development
Hello,
We have an application that loses it's authorization after a random interval. This causes the synchronization to fail because we can no longer make a connection. Only after re-authorizing the application with a user account everything can continue.
What could be the reason for this? The user changing his/her password?
Kind regards,
Robrecht
We have an application that loses it's authorization after a random interval. This causes the synchronization to fail because we can no longer make a connection. Only after re-authorizing the application with a user account everything can continue.
What could be the reason for this? The user changing his/her password?
Kind regards,
Robrecht
Tags:
2 comments
Access Tokens expire after 1800 seconds, this would explain the 401 you received, you will need to obtain a new Access Token using the refresh token.
https://developers.lightspeedhq.com/retail/authentication/refresh-token/
That's the funky part. It runs fine for a couple of weeks with the refresh token but then suddenly deceids ... not to refresh?
Kind regards,
Robrecht Exelmans