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
posta 10 mesi fa462 visualizzazioni
1 Risposta
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
con risposta 10 mesi fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande