I am working on an integration for the Wix API. As the documentation mentions the access token lasts 5 minutes, and the refresh token should be used to request a new Access Token and refresh token pair.
However they don't mention how long the refresh token lasts? Am I therefor to assume that unless the App is removed and the permission revoked to the store that a refresh token will last indefinetly?
For example EKM mention in their documentation that refresh tokens last 15 days, but Etsy refresh tokens last 90 days.
Is there anyone with experience that has discovered their lifetime?
CodePudding user response:
Sorry - as I continued the process to integrate I came accross another area of the documentation I hadn't spotted before which states:
Note: Access and refresh tokens are user-specific. Access tokens are valid for 5 minutes. Refresh tokens are valid as long as the app is installed on the user's site.