Why disconnecting an integration needs an access-revocation check
A removed connection tile does not establish what happened to authorization, queued work or retained data. Define a disconnect promise and verify each part with the responsible product and security teams.
In brief
Disconnecting has several possible effects: stopping scheduled work, revoking authorization, handling in-flight operations and applying the agreed treatment of retained data. A visible disconnected state proves only what the interface displays. Define the intended scope, verify the provider-specific revocation behavior and test the complete lifecycle with authorized test accounts before promising that access has ended.
Key takeaways
- Connection state, authorization and retained data are separate lifecycle concerns.
- Revocation behavior depends on the provider and token relationships.
- Queued work and reconnect behavior belong in disconnect acceptance criteria.
- Do not describe retained data as deleted merely because synchronization stopped.
A customer removes an integration from a product’s settings. The connection tile disappears and the page says disconnected. The customer reasonably wants to know whether the other service can still be accessed and what happens to information already copied.
Those questions cannot be answered by the tile alone. A product needs a defined disconnect promise and evidence that the underlying systems fulfill it.
This is a practical product-research issue as well as an engineering concern. If users interpret the action differently from the implementation, a technically successful click can still produce a misleading outcome.
Describe the complete promise in user terms
Start with the action the customer believes they are taking. They may want future synchronization to stop, the product’s permission to access another account to end, imported information to disappear, or all three.
These are distinct outcomes. A product might legitimately stop synchronization while retaining previously imported reports under the agreed retention arrangements. Its interface should explain that behavior clearly before implying that all access and data have vanished.
For a fictional scheduling-to-reporting integration, write the expected outcome as several testable statements: no new scheduled imports, the intended authorization is revoked, outstanding jobs follow a documented rule, and retained reports receive their specified treatment.
Separate authorization from the application’s connection record
An application may store a local record saying that a connection exists. Another system may hold the authorization that permits access. Removing the local record is not, by itself, evidence about the state of that authorization.
RFC 7009 defines an OAuth token-revocation mechanism. It explains that effects on related tokens depend on the authorization server’s policy, and that propagation delays and access-token designs affect implementation.
The standard gives the engineering team a technical reference, not a guarantee about a particular provider. Ask that team to verify the actual provider documentation and implementation, including which authorization is being revoked and whether other connections share it.
The business requirement should remain understandable without exposing tokens or implementation details to ordinary users. The customer needs an accurate outcome and any material limitation, not a protocol tutorial.
Include the work already in progress
A disconnect action can occur while an import is running or waiting in a queue. Decide what should happen to that work. Can it finish, must it stop, or must its result be withheld from further use?
There is no universal answer for every integration. The correct behavior depends on the product promise, the operation’s reversibility and the relevant data obligations. The important point is to choose and test the behavior deliberately.
Consider a job that copied records before the disconnect but has not yet generated its report. Ending future access does not automatically erase that copy or cancel the downstream job. Treat those as explicit lifecycle states.
Use an acceptance matrix that distinguishes outcomes
| Concern | Expected behavior to define | Evidence to inspect |
|---|---|---|
| Visible connection | Accurate status and explanation | User-interface state and support wording |
| Future scheduled work | Stop new synchronization attempts | Scheduler and authorized test observations |
| Authorization | Revoke the intended permission according to the provider’s supported mechanism | Provider-specific implementation and test results |
| In-flight work | Apply the agreed cancellation or completion rule | A test that disconnects during a running operation |
| Retained information | Apply the stated retention or deletion behavior | Data lifecycle records and user-visible result |
| Reconnection | Require the appropriate current authorization and configuration | A complete reconnect test |
Use authorized test accounts and non-sensitive test material. Keep credentials out of review documents, screenshots and support conversations. The purpose is to verify the legitimate product workflow, not to experiment against another organization’s account.
Handle partial failure without displaying false completion
The local schedule might stop while a provider is temporarily unavailable. The interface should distinguish the confirmed effect from the unresolved one. A blanket success message can conceal a remaining authorization task.
Assign responsibility for retries, escalation and user communication. Preserve enough operational evidence to diagnose the failure without recording secrets. Specify when a person should take over rather than leaving an indefinite background state.
Place these dependencies in the assumption register. If the product cannot verify a particular provider behavior yet, that is a release limitation to resolve or communicate, not an assumption to hide.
Test reconnecting as a separate transition
Reconnection can reveal stale state that a simple disconnect test misses. Determine whether the user must authorize again, choose the relevant account, confirm the scope and decide how historical data should be handled.
Check that the system does not silently resume an obsolete schedule or reuse a prior user’s configuration. Where reconnecting legitimately restores retained settings, explain that behavior and verify that the current authorized user can review them.
The guide on migration planning makes a related point: entering and leaving an arrangement both belong in the original product decision.
Research the language as well as the implementation
Ask representative users to explain what they expect disconnect to do before showing the result. Then observe whether the confirmation and subsequent screens make the actual effects clear.
Do not fix a mismatch solely by adding dense legal wording. Consider whether separate controls, clearer status or a distinct data-deletion workflow would better fit the tasks people need to complete.
Review the burden on administrators and support staff through the article on making a product easier for one team. A simple front-end action can still leave another team with unresolved work.
Set decision criteria covering both verified system behavior and understandable user expectations. The product research hub and product testing report are relevant next steps when this lifecycle needs a structured evaluation before release.
Sources & further reading
- IETF RFC 7009: OAuth 2.0 Token Revocation
Defines revocation of OAuth tokens, explains provider-dependent effects on related tokens, possible propagation delay and differing access-token implementation designs.
Related topics
- product-research
Research the question.
Build the case.
Use Research Reports to understand the opportunity. Use Executive Editor to develop the recommendation, examine the assumptions and prepare a decision paper.
Research Reports
Explore markets, competitors, customers, brand perception or a product idea. Each one is a complete Standard report.
AI-assisted desk research · One-time report purchaseExplore Research ReportsExecutive Editor
Write your case, connect evidence and calculations, review proposed changes and publish a saved version when you are ready.
Use your TDP account · No report purchase requiredExplore Executive Editor