OAuth lets an agent ask the user to connect an external account before the agent runs.Documentation Index
Fetch the complete documentation index at: https://docs.charmos.io/llms.txt
Use this file to discover all available pages before exploring further.
Configure OAuth
Declare providers incharm.yaml:
name should match the integration key configured in the OAuth provider layer.
User Flow
- The Store reads
auth.providersfrom the published version. - If the user has not connected the provider, the Store opens an auth modal.
- The user completes OAuth.
- The runner fetches the provider token for that user.
- The token is injected into the agent runtime.
Runtime Tokens
Provider access tokens are exposed as environment variables such as:GOOGLE_ACCESS_TOKENGITHUB_ACCESS_TOKENSLACK_ACCESS_TOKEN
