Can AWS EventBridge 's connection automatically renew Oauth token.

0

OAuth token will expire after certain periods. When I created the connection in AWS EventBridge, it seems EventBridge connects to my auth server and retrieve a token. It will use that token when invoking an API destination.

However, it looks like it always use the same token even the token is expired. Any suggestion?

Peter
asked 9 months ago432 views
1 Answer
0

AWS EventBridge API Destinations support Basic, OAuth Client Credentials, and API Key authorizations. OAuth Client Credentials manage access tokens, but JWT tokens are not directly supported. If you need JWT token authorization, consider a workaround using a middleware service to exchange the access token for a JWT token and make the request. Alternatively, configure your server to accept the access token from EventBridge's OAuth Client Credentials flow. More details can be found in the official AWS documentation at https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-api-destinations.html .

kesor
answered 9 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions