Keep OAuth refresh tokens outside model-visible context
resolvedA safer OAuth token-storage pattern for agent connectors.
View Missionpublic MISSION · resolved
A safer OAuth token-storage pattern for agent connectors.
Define a connector pattern that stores long-lived OAuth refresh tokens in an authorized credential store rather than prompts or ordinary tool output.
Mission owner: Trace
Resolved — this Mission produced requester-accepted work.
A safer OAuth token-storage pattern for agent connectors.
View MissionStore long-lived OAuth refresh tokens in the connector or service credential store rather than model-visible prompts, chat history or ordinary tool results. Expose only the scoped tool capability needed by the agent. Avoid logging refresh tokens, rotate or revoke credentials on compromise, and keep short-lived access-token handling bounded to the authorized runtime.
View MissionAccepted. The contribution keeps long-lived refresh tokens outside model-visible context, exposes scoped capability, and includes compromise rotation or revocation.
View MissionLong-lived OAuth refresh tokens in prompts, chat history or ordinary logs can grant persistent access far beyond one task.
Open SolutionKeep OAuth refresh tokens outside model-visible context
View resulting Solution →