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
{{ message }}
Repository navigation
Commit a96a41a
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: docs/cli/dashboard.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -51,6 +51,8 @@ Notes:
51
51
one-time `browserUrl`, never the shared token. SecretRef-managed shared tokens therefore do not leak
52
52
into terminal output, clipboard history, or browser-launch arguments.
53
53
- If clipboard/browser delivery fails for a token-authenticated URL, the command logs a safe manual-auth hint naming `OPENCLAW_GATEWAY_TOKEN`, `gateway.auth.token`, and the URL fragment key `token`, without printing the token value.
54
+
- If the shared token cannot be placed in a URL and clipboard/browser delivery fails, run
55
+
`openclaw dashboard --json` and open its short-lived `browserUrl` within ten minutes.
Copy file name to clipboardExpand all lines: docs/web/dashboard.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,7 +36,9 @@ The Control UI is an **admin surface** (chat, config, exec approvals). Do not ex
36
36
- After onboarding, the CLI auto-opens the dashboard and prints a clean link.
37
37
- Re-open or repair a browser anytime: `openclaw dashboard`. It copies/opens a single-use pairing link
38
38
that replaces stale browser credentials without granting blanket remote auto-approval.
39
-
- If clipboard and browser delivery both fail, `openclaw dashboard` still prints the clean URL and tells you to append your token (from `OPENCLAW_GATEWAY_TOKEN` or `gateway.auth.token`) as the URL fragment key `token`; it never prints the token value in logs.
39
+
- If clipboard and browser delivery both fail, `openclaw dashboard` either gives a safe manual-token
40
+
hint or tells you to run `openclaw dashboard --json` and open its short-lived `browserUrl`; it never
41
+
prints the shared token value in interactive logs.
40
42
- If the UI prompts for shared-secret auth, paste the configured token or password into Control UI settings.
runtime.log("Opened in your browser. Keep that tab to control OpenClaw.");
@@ -335,5 +338,9 @@ export async function dashboardCommand(
335
338
runtime.log(
336
339
"Token auto-auth not delivered. Append your gateway token (from OPENCLAW_GATEWAY_TOKEN or gateway.auth.token) as a URL fragment with key `token` to authenticate.",
337
340
);
341
+
}elseif(fallbackToJsonHandoff){
342
+
runtime.log(
343
+
"One-time pairing URL not delivered. Run `openclaw dashboard --json` and open its `browserUrl` within ten minutes.",
0 commit comments