aws / aws/bedrock-agentcore-sdk-python
GetResourceOauth2Token returns ValidationException: Error parsing ClientCredentials response
- Lenguaje dominante
- Python
- Estrellas
- 761
- Forks
- 147
- Merge medio
- 1 d 23 h
- PR fusionados (30 d)
- 7
Descripción
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.
Guía de contribución
Línea de trabajo
Comienza reproduciendo el comando `aws bedrock-agentcore get-resource-oauth2-token` y compáralo con la operación `GetResourceOauth2Token` del SDK. Inspecciona cómo se analiza la respuesta de ClientCredentials y cómo se expone la ValidationException resultante. Se considera completado cuando los usuarios pueden identificar la respuesta devuelta por el proveedor de identidad o un error de análisis específico.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- aws, python
- Área
- authentication, cli
- Tipo de issue
- Error
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 35/100