aws / aws/bedrock-agentcore-sdk-python

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

オープン
#150 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Python
スター
761
フォーク
147
平均マージ
1日 23時間
マージ済み PR(30日)
7

説明

**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.

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

GetResourceOauth2Token のクライアントパスから始め、Google プロバイダーへのリクエストがどのように組み立てられているかを追跡します。customParameters が現在どのように扱われているかを確認し、続いて、リンク先の AWS ドキュメントに記載されているとおり、呼び出し元が access_type=offline を渡してリフレッシュトークンを受け取れることを検証します。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
aws, python
領域
api, authentication
issue の種類
機能追加
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
45/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。