Skip to content

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

Open
adk-bot wants to merge 1 commit intomainfrom
agent-changes-20260211-235055
Open

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

Conversation

@adk-bot
Copy link
Collaborator

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

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
Copy link

netlify bot commented Feb 11, 2026

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

2 participants