Keep four phases distinct
| Client phase | Message the screen may use | It must not imply |
|---|---|---|
| Request recorded | Disconnect request recorded; provider access is not yet confirmed | A provider received the request |
| Provider result unknown | Provider result is uncertain; do not claim access is removed | Access remains or ended |
| Provider result declared | A provider result was recorded; local reconciliation is still required | Local state is current |
| Reconciled | The service reports its local record reconciled | Universal provider access removal |
Each server receipt needs the current request ID, stable connection ID, declared server source, and a sequence greater than the one already shown. The client can reject stale or mismatched data shapes; it cannot authenticate the response or decide whether external access ended.
Exercise the state model
node --test sites/reactjsx.com/evidence/P248/connection-revocation-state.test.mjs
The tests cover request language, a declared provider result, stale or non-server receipts, and a fresh request after an unknown result. The illustrative JSX uses a status region and refresh control, but has not been browser- or assistive-technology-tested.
<p role={status.role} aria-atomic={status.atomic}>{status.text}</p>
Keep authority on the server
The backend owns authentication, authorization, provider invocation, current record reconciliation, and any user notification policy. Do not render “access removed” from a click, a local record deletion, or an uncorrelated response. Refetch or reconcile after a mutation explains the adjacent client-refresh boundary, not OAuth revocation. This is distinct from employee offboarding and credential rotation: it models a user-requested third-party connection only. A named React and accessibility reviewer must test the real screen before that status language is treated as accessible or operationally complete.