aws / aws/bedrock-agentcore-sdk-python
GetResourceOauth2Token returns ValidationException: Error parsing ClientCredentials response
- Ngôn ngữ chính
- Python
- Star
- 764
- Fork
- 148
- Merge trung bình
- 1 ngày 23 giờ
- Pull request đã merge (30 ngày)
- 7
Mô tả
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.
Hướng dẫn đóng góp
Hướng nghiên cứu
Bắt đầu bằng cách tái hiện lệnh `aws bedrock-agentcore get-resource-oauth2-token` và so sánh lệnh đó với operation `GetResourceOauth2Token` của SDK. Kiểm tra cách response ClientCredentials được phân tích và cách ValidationException phát sinh được hiển thị. Hoàn thành khi người dùng có thể xác định response do identity provider trả về hoặc một lỗi phân tích cụ thể.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- aws, python
- Lĩnh vực
- authentication, cli
- Loại issue
- Lỗi
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 35/100