AWS – Amazon EventBridge announces API destinations proactive OAuth token refresh
Amazon EventBridge API destinations now support proactive OAuth token refresh for public and private OAuth authorization endpoints. This capability helps you to preemptively mitigate delays and errors during invocations when the OAuth access token is close to expiration.
EventBridge API destinations are HTTPS endpoints that you can invoke as the target of an event bus rule, or pipe, similar to how you invoke an AWS service or resource as a target. Using API destinations, you can route events between AWS services, integrated software as a service (SaaS) applications, and public or private applications by using API calls. Now, when you invoke an API destination with an OAuth token that is close to expiration, EventBridge asynchronously requests a new token from your OAuth endpoint, reducing authorization errors and delays due to expired tokens.
Amazon EventBridge API destinations proactive OAuth token refresh is available at no additional cost across all AWS Regions where EventBridge API destinations is available. Please refer to the API destinations user guide for details.
Read More for the details.