aws / aws/bedrock-agentcore-sdk-python

Unable to supply necessary params to get refresh tokens for Google provider.

Đang mở
#150 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
761
Fork
147
Merge trung bình
1 ngày 23 giờ
Pull request đã merge (30 ngày)
7

Mô tả

**Describe the bug**
https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/identity-authentication.html#automatic-refresh-token-storage

In order to have Google provide refresh tokens include access_type=offline in customParameters when calling GetResourceOauth2Token

"customParameters": { "access_type": "offline" }

It is currently not possible to provide this custom parameter with the client in order to have these refresh tokens.

**Expected behavior**
A way to provide custom params.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Bắt đầu từ client path cho GetResourceOauth2Token và theo dõi cách request tới Google provider được tập hợp. Xác nhận hiện tại customParameters được xử lý như thế nào, sau đó xác minh rằng các caller có thể truyền access_type=offline và nhận refresh tokens như được mô tả trong tài liệu AWS được liên kết.

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
api, authentication
Loại issue
Tính năng
Độ 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
45/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.