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
gefragt vor 10 Monaten450 Aufrufe
1 Antwort
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
beantwortet vor 10 Monaten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen