Fix deploy.sh step counter and document auth token retrieval
- Renumber deploy.sh steps from [1/5]-[4/5] to [1/4]-[4/4] (step 5 was removed) - Add 'Finding Your Auth Token' section to README.md explaining how to retrieve the authToken from config.json on mini-server
This commit is contained in:
@@ -127,6 +127,23 @@ ai.example.com {
|
||||
|
||||
## Client Configuration
|
||||
|
||||
### Finding Your Auth Token
|
||||
|
||||
The proxy auth token is the `authToken` value in `config.json` on the server where the proxy runs. To retrieve it:
|
||||
|
||||
```bash
|
||||
ssh mini-server "node -e \"console.log(JSON.parse(require('fs').readFileSync('/home/harrison/ai-proxy/config.json','utf-8')).authToken)\""
|
||||
```
|
||||
|
||||
Or just SSH in and read the file directly:
|
||||
|
||||
```bash
|
||||
ssh mini-server
|
||||
cat ~/ai-proxy/config.json | grep authToken
|
||||
```
|
||||
|
||||
This is the token you'll use in all client configurations below.
|
||||
|
||||
### Claude Code CLI
|
||||
|
||||
Add to `~/.claude/settings.json`:
|
||||
|
||||
Reference in New Issue
Block a user