# OpenClaw Gateway token mismatch: AUTH_TOKEN_MISMATCH

Canonical: https://cwyn.com/pages/openclaw-guide-dashboard-gateway-token-mismatch.html
Last updated: 2026-11-27T06:30:10-05:00

OpenClaw operations guide

`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 November 27, 2026 · Published November 19, 2026

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](https://docs.openclaw.ai/web/dashboard)

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](https://docs.openclaw.ai/gateway/troubleshooting/agent-replies-and-control-ui).

## 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.

## 3. Open a fresh host-issued dashboard link

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](https://docs.openclaw.ai/web/dashboard), 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](https://cwyn.com/pages/score.html)

## Related guides

- [Pair a device with the OpenClaw Gateway](https://cwyn.com/pages/openclaw-guide-gateway-device-pairing.html)
- [OpenClaw dashboard 404 or missing Control UI assets](https://cwyn.com/pages/openclaw-guide-control-ui-assets-missing.html)
- [OpenClaw WebChat keeps reconnecting: isolate the WebSocket drop](https://cwyn.com/pages/openclaw-guide-webchat-reconnect-loop.html)
- [Access the OpenClaw dashboard with Tailscale Serve](https://cwyn.com/pages/openclaw-guide-tailscale-serve-dashboard.html)

## Next steps

- [All 135 OpenClaw guides](https://cwyn.com/guides/openclaw/)
- [OpenClaw setup walkthrough](https://cwyn.com/setup/openclaw/)
- [CWYN Score](https://cwyn.com/pages/score.html)
- [OpenClaw Complete Setup Pack ($14.95)](https://cwyn.com/pages/pack-openclaw-complete-setup-pack.html)

### Verify a reply after reconnecting

Once the browser reconnects, use the Gateway checklist in the [OpenClaw Complete Setup Pack ($14.95)](https://cwyn.com/pages/pack-openclaw-complete-setup-pack.html), an optional paid kit, to test a private reply.
Kit details as of Nov 18, 2026

OpenClaw Complete Setup Pack $14.95

Start an OpenClaw workspace with editable instructions, local Gateway and tool presets, and checklists for pairing, memory, costs and rollback.
