Repository navigation
Conversation
…reds
The dashboard writes SALESFORCE_* to the per-Agent docker.env and registers
the Salesforce MCP with env: {}, relying on the bridge inheriting
process.env. This compose has no env_file and masks docker.env, so keys
reach the container only when listed. They were not, so a connected
Agent's Salesforce MCP would start with no credentials.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
The dashboard's Salesforce route (
app/api/agents/[agentId]/salesforce/route.ts) writesSALESFORCE_CONNECTION_TYPE,SALESFORCE_INSTANCE_URL,SALESFORCE_CLIENT_ID,SALESFORCE_CLIENT_SECRETto the per-Agentdocker.envand sets the MCP entryenv: {}, relying on the bridge's{ ...process.env, ...env }.This compose has no
env_fileand mountsempty.envoverdocker.env, so only allowlisted keys reach the container. None of theSALESFORCE_*keys were listed → a connected Agent's Salesforce MCP would start with no credentials.Fix
Add the 4 keys (with
:-default, likeGMAIL_*/GCAL_*) to bothopenclaw-gatewayandopenclaw-cli.Checked
docker compose configwithSALESFORCE_CLIENT_ID=proberenders all 4 keys in both services.SALESFORCE_*in every docker.env), so nobody is broken today; the first customer to connect would have been.Not in this PR (noted for the owner)
NVIDIA_API_KEY(dashboard core key) is saved in ~30 Agents' docker.env but is in no gateway container — not allowlisted either.GITHUB_PERSONAL_ACCESS_TOKEN: the dashboard strips it from the GitHub MCPenvand relies on docker.env, same pattern; not allowlisted. No Agent has it saved today.🤖 Generated with Claude Code