OpenClaw operations guide

OpenClaw Gateway token mismatch: AUTH_TOKEN_MISMATCH

AUTH_TOKEN_MISMATCH means the dashboard sent a shared token that differs from the one the running Gateway expects. On the Gateway host, run openclaw dashboard with the service’s profile for a fresh single-use link. If prompted, run openclaw gateway auth-token --show in a private terminal and paste the result into Gateway secret.

Last updated · Published

Tested on OpenClaw 2026.11.10 (Nov 25, 2026). Each command here was run with --help on that release and each setting was checked in its bundled docs.

By CWYN · Reviewed November 27, 2026 against the OpenClaw dashboard docs

Use these steps when the Control UI renders but the local Gateway rejects the shared token. Work on the Gateway host, with access to the same OpenClaw profile that runs the service.

1. Identify the shared-token error

Check the failed connection. AUTH_TOKEN_MISMATCH means the shared token sent by the client did not match. The Gateway may suggest one retry with a cached device token. If the UI still cannot connect, use the next steps. For AUTH_DEVICE_TOKEN_MISMATCH or AUTH_SCOPE_MISMATCH, follow the corresponding row in the Gateway auth detail table.

2. Match the browser to the running Gateway

On the host, run openclaw gateway status. Check the service state and compare its dashboard URL with the address in the failing tab. If you have multiple profiles, use the CLI and browser URL for the same Gateway. A token from another instance will fail.

Run openclaw dashboard from the same host and profile. Open the single-use link in the browser you want to use. As explained in the dashboard auth reference, the handoff is short-lived and bound to the browser’s signed device identity. Keep the link private because it grants administrator access.

4. Replace the shared token if the UI still asks for one

For a Gateway using token auth, run openclaw gateway auth-token --show in a private interactive terminal on the Gateway host. Paste the result into Gateway secret on the login screen or under Settings → Gateway. If a SecretRef fails to resolve, repair its external source first. Keep the token out of messages, URLs and screenshots.

5. Confirm the browser can reconnect

Connect, then refresh in the same tab at the same Gateway URL. Manual token entry is scoped to that tab and URL. Open a fresh chat and send a short prompt. If the same shared-token error returns, compare the service and CLI profiles again and follow the token drift checklist linked in the dashboard reference.

Get your free CWYN Score

Next steps

Verify a reply after reconnecting

Once the browser reconnects, use the Gateway checklist in the OpenClaw Complete Setup Pack ($14.95), an optional paid kit, to test a private reply.
Kit details as of Nov 18, 2026