aws / aws/bedrock-agentcore-sdk-python

GetResourceOauth2Token returns ValidationException: Error parsing ClientCredentials response

Open
#81 3 comments 1 reaction 0 assignees View on GitHub
Dominant language
Python
Stars
761
Forks
147
Avg merge
1d 23h
Merged PRs (30d)
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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.