zoomus icon indicating copy to clipboard operation
zoomus copied to clipboard

API to retrieve a new access token if expired when doing the request

Open alonwengierko opened this issue 3 years ago • 1 comments

If API response status code is 401 (access token expired), it would be useful for the API to request a new access token based on the refresh_token, and run the request again with the new token.

alonwengierko avatar Feb 27 '22 13:02 alonwengierko

Great idea! Feel free to submit a pull request in which this is caught in BaseComponent and then automatically retried.

prschmid avatar Aug 29 '23 18:08 prschmid