You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+23Lines changed: 23 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -213,6 +213,7 @@ Use these commands to manage Cursor authentication and the local cache that Toke
213
213
tokenleak cursor login --name work
214
214
tokenleak cursor status
215
215
tokenleak cursor accounts --json
216
+
tokenleak cursor doctor
216
217
tokenleak cursor switch work
217
218
tokenleak cursor logout --name work
218
219
tokenleak cursor logout --all --purge-cache
@@ -255,6 +256,28 @@ bun packages/cli/dist/cli.js --provider cursor --format json
255
256
- If `cursor status` is valid but `--list-providers` still shows Cursor as unavailable, run `tokenleak --provider cursor` once to sync the cache, then rerun `--list-providers`.
256
257
- Cursor session tokens are stored in plaintext at `~/.config/tokenleak/cursor-credentials.json` (or under `TOKENLEAK_CURSOR_DIR`) with local-only file permissions.
257
258
259
+
#### Corporate VPN / protected network
260
+
261
+
If `tokenleak cursor login` works off VPN but fails on a company protected VPN with a connection, proxy, or certificate error, run the token-free doctor first:
262
+
263
+
```bash
264
+
tokenleak cursor doctor
265
+
```
266
+
267
+
For managed proxy networks, pass a Cursor-specific proxy or use your standard shell proxy variables:
268
+
269
+
```bash
270
+
TOKENLEAK_CURSOR_PROXY=http://proxy.company:8080 tokenleak cursor doctor
271
+
```
272
+
273
+
For TLS inspection networks, export the company root CA as a PEM file and point Tokenleak at it:
274
+
275
+
```bash
276
+
TOKENLEAK_CURSOR_CA_FILE=/path/company-root-ca.pem tokenleak cursor doctor --with-token
277
+
```
278
+
279
+
Tokenleak also honors `HTTPS_PROXY`, `HTTP_PROXY`, `NO_PROXY`, and `TOKENLEAK_CURSOR_TIMEOUT_MS` for Cursor API requests. `tokenleak cursor doctor --insecure-skip-tls-verify` exists only to prove that TLS inspection is the failure mode; do not use it for normal login or sync.
280
+
258
281
### Date filtering
259
282
260
283
By default, Tokenleak shows the last **90 days** of usage.
0 commit comments