aws / aws/bedrock-agentcore-sdk-python
GetResourceOauth2Token returns ValidationException: Error parsing ClientCredentials response
- Langage dominant
- Python
- Étoiles
- 761
- Forks
- 147
- Merge moyen
- 1 j 23 h
- PR mergées (30 j)
- 7
Description
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.
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
Commencez par reproduire la commande `aws bedrock-agentcore get-resource-oauth2-token` et comparez-la à l’opération `GetResourceOauth2Token` du SDK. Examinez comment la réponse ClientCredentials est analysée et comment la ValidationException qui en résulte est exposée. Le travail est terminé lorsque les utilisateurs peuvent identifier la réponse renvoyée par le fournisseur d’identité ou une erreur d’analyse spécifique.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- aws, python
- Domaine
- authentication, cli
- Type d'issue
- Bug
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 35/100