aws / aws/bedrock-agentcore-sdk-python

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

Open
#150 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
761
Forks
147
Avg merge
1d 23h
Merged PRs (30d)
7

Description

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

Contributor guide

Open the contributing guide

Research direction

Start at the client path for GetResourceOauth2Token and trace how the Google provider request is assembled. Confirm how customParameters are currently handled, then verify that callers can pass access_type=offline and receive refresh tokens as described in the linked AWS documentation.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, python
Domain
api, authentication
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.