Skip to content

Update ADK doc according to issue #1292 - 7 - External Access Tokens - #1303

Closed
adk-bot wants to merge 1 commit into
mainfrom
agent-changes-20260211-235055
Closed

Update ADK doc according to issue #1292 - 7 - External Access Tokens#1303
adk-bot wants to merge 1 commit into
mainfrom
agent-changes-20260211-235055

Conversation

@adk-bot

@adk-bot adk-bot commented Feb 11, 2026

Copy link
Copy Markdown
Collaborator

Add a section "Using External Access Tokens".
Explain that for Google credentials, you can configure external_access_token_key to instruct the tool to retrieve an existing access token from tool_context.state instead of performing authentication itself.
This is useful when the agent is invoked in an environment where the user is already authenticated (e.g., a frontend passing the token).
Example:

AuthCredential(
    auth_type=AuthCredentialTypes.GOOGLE_CREDENTIALS,
    google_credentials_config=GoogleCredentialsConfig(
        external_access_token_key="my_access_token"
    )
)

@netlify

netlify Bot commented Feb 11, 2026

Copy link
Copy Markdown

Deploy Preview for adk-docs-preview ready!

Name Link
🔨 Latest commit 7cb28df
🔍 Latest deploy log https://app.netlify.com/projects/adk-docs-preview/deploys/698d15e43d25450008674238
😎 Deploy Preview https://deploy-preview-1303--adk-docs-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@joefernandez joefernandez changed the title Update ADK doc according to issue #1292 - 7 Update ADK doc according to issue #1292 - 7 - External Access Tokens Feb 13, 2026
@zyantw zyantw self-assigned this May 27, 2026
zyantw added a commit that referenced this pull request Jul 24, 2026
* Update external access tokens per issue 1292 - 7

- Reviewed original PR and added some corrections to the agent's draft.
- Added more info about authentication warnings.
- Added documentation for the external_access_token_key feature in authentication.md.
- Reviewed against python repository.

Links:
- Rendered page: 
- Original PRs: #1303 and #1304 
- Issue: #1292

* Update authentication.md
@zyantw

zyantw commented Jul 24, 2026

Copy link
Copy Markdown
Collaborator

Closed with #1974

@zyantw zyantw closed this Jul 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants