Skip to content

Spec 116 PR2b: bind OAuth token reads/writes to the server incarnation #1607

Closed

Description

@Dumbris

Deferred from Spec 116 PR2 (#1600, merged fb1ad33). PR2 purges a removed server's OAuth tokens and client registration in the removal transaction, so a same-name re-add no longer inherits credentials (#1562). Still open: an OAuth write from the old server instance that is already in flight (token refresh, login completion) can land after the purge and re-create credentials under the name.

Scope (see specs/116-config-commit-consistency plan/tasks, 'PR2b'): OAuth epoch bound to the server incarnation; binding-checked token reads/writes/clears; record revisions; refresh flights keyed by binding; standalone logout aligned. Thread through the upstream constructors after Spec 116 PR3 (#1563) lands, since PR3 rewrites them.

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugpriority/medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions