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
feita há 10 meses458 visualizações
1 Resposta
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
respondido há 10 meses

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas