aws / aws/bedrock-agentcore-sdk-python

GetResourceOauth2Token returns ValidationException: Error parsing ClientCredentials response

Aperta
#81 3 commenti 1 reazione 0 assegnatari Vedi su GitHub
Lingua principale
Python
Stelle
761
Fork
147
Merge medio
1g 23h
PR unite (30g)
7

Descrizione

When calling the following CLI command:
```
aws bedrock-agentcore get-resource-oauth2-token --workload-identity-token --resource-credential-provider-name 'tradeforge-m2m' --scopes "email" --oauth2-flow 'M2M'
```

I receive `An error occurred (ValidationException) when calling the GetResourceOauth2Token operation: Error parsing ClientCredentials response`

I have absolutely no way to debug this. The same happens during runtime when using the SDK and there is no way to get to the actual reason as for why this is happening (what exactly was returned by the identity provider).

I'd greatly appreciate some degree of insight into the responses so that I could debug if the issue is on my side or not.

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Inizia riproducendo il comando `aws bedrock-agentcore get-resource-oauth2-token` e confrontalo con l'operazione `GetResourceOauth2Token` dell'SDK. Esamina come viene analizzata la risposta ClientCredentials e come viene resa disponibile la ValidationException risultante. Il lavoro è completato quando gli utenti possono identificare la risposta restituita dal provider di identità o uno specifico errore di analisi.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
aws, python
Ambito
authentication, cli
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.