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
preguntada hace 10 meses450 visualizaciones
1 Respuesta
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 hace 10 meses

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas