bytechef
bytechef copied to clipboard
[feature] Refresh oauth token periodically if expiration time is known
As an Admin
I want to have oauth access tokens refreshed before each request to certain provider if expiration time is known
So that system is not executing necessary http requests
Technical Details
- Without this enhancement, when access token is expired , upon request, 401 is returned, then the sytem needs to do additional requests to refresh access token and then repeat initial requesr
- Some OAuth providers send expiration time or have defined in documentation
- Add scheduled task that will periodically check for oauth credential, if there is expiration time set and refresh access token accordingly
Acceptance Criteria TODO
Definition of Done TODO