Summary
Search for it in the code. SLACK_USER_TOKEN is checked to verify whether or not the slack config should be enabled, but it's not used in the slack config itself.
We use environment variables to reduce attack surface (load data into environment before loading openclaw, strip access to /proc/*/environ and maps from all processes). And this incredibly sensitive token can't be stripped this way.
Steps to reproduce
- Configure SLACK_USER_TOKEN
- Boot up openclaw
- No slack user token is found, that's only read from the openclaw.json file.
Expected behavior
SLACK_USER_TOKEN is checked alongside the openclaw.json config for the users token.
Actual behavior
No token is found
OpenClaw version
2026.2.24
Operating system
For many users
Install method
docker