#19630·budibase

[QA] “Go to tenant” redirects to chat handoff endpoint

Author: jvcalderonCreated Sep 7, 2026Updated Sep 29, 2026
Labelsbugenv - productionlow-hanging-fruit

Issue

In QA, clicking Go to tenant can redirect to a chat-link handoff endpoint rather than opening the intended tenant.

This appears to be session-dependent: the issue no longer occurs after clearing browser cookies.

Actual result

Clicking Go to tenant redirects the browser to a URL similar to:

https://<qa-tenant>/api/chat-links/{appId}/{linkId}/handoff

The user is therefore not taken directly to the target tenant.

Expected result

Clicking Go to tenant should consistently open the relevant tenant, regardless of any existing browser session or cookies.

Investigation / suspected cause

The behaviour may be caused by a conflict involving agent-related cookies or stale authentication/session state:

  • The issue was observed with existing browser cookies.
  • After clearing cookies and retrying, the redirect behaved correctly.
  • This suggests that one or more cookies may cause the tenant navigation flow to resolve to the chat-link handoff URL instead of the tenant destination.

We should investigate which cookies are involved, whether they can coexist safely across QA tenants/agents, and whether the handoff flow is incorrectly prioritised when stale session state is present.

Environment

QA

Evidence