Skip to content

Integrations: unlink and re-verify connected accounts #40

Closed

Description

@Adron

Part of #38 — Social account linking (OAuth) and full cross-post destination support

DELETE /api/user/identities is already declared in the app's API layer; POST /api/user/identities/verify is not called at all.

Web behaviour (/help/cross-posting → Keeping your connections active): connections can go
stale and need re-verification, and the user can unlink an account.

  • Add unlink (with confirmation — it stops cross-posting to that network) and re-verify actions
    to the connected-accounts screen.
  • Show connection health (connectedAt / lastVerifiedAt are already in the identities payload)
    so a stale connection is visible before a post silently fails to syndicate.

Tests: unlink round-trip and list refresh; verify round-trip; stale state rendering.


Filed from the parity review of feature/parity-wip @ 14d7795 against interlinedlist.com (OpenAPI /api/openapi.json, 233 paths) and the public help centre.

Activity

  1. added
    parityClosing a gap against interlinedlist.com
    P2Completeness / settings surface
    on Sep 15, 2026
  2. Adron commented on Sep 16, 2026

    @Adron
    MemberAuthor

    Implemented in the PR above (branch issue/40-unlink-reverify). Closing here — review and any follow-up happens on the PR.

    Contracts settled: DELETE /api/user/identities takes provider as a query parameter (not a body or path segment), and POST /api/user/identities/verify takes { "provider": … } as a JSON body. I also confirmed the identities envelope live — {"identities":[{id, provider, providerUsername, profileUrl, avatarUrl, connectedAt, lastVerifiedAt}]} — so the help page's bare-array example is wrong.

    One detail that shaped the design: provider is instance-qualified. Your account really does have mastodon:techhub.social, so identities are rendered one row each rather than collapsed per platform — otherwise unlink would hit an arbitrary instance.

    Staleness threshold is 30 days, chosen as half of the shortest expiry the help centre documents (LinkedIn's "couple of months"). That gives about a month of warning before a cross-post could start failing silently.

    One thing I deliberately did not verify: the response body of POST /api/user/identities/verify is ignored. If the server can answer 200 with something like {"verified": false\} instead of a 4xx, a failed verification would read as success until the refreshed lastVerifiedAt contradicts it. Settling it means calling verify against your real linked accounts, which mutates lastVerifiedAt — say the word and I will.

  3. added a commit that references this issue on Sep 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Completeness / settings surfacearea:integrationsOAuth, cross-posting, GitHubparityClosing a gap against interlinedlist.com

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions