Skip to content

Force-disconnect on device revocation / token expiry #196

Description

@codebestia

Subscribe gateways to a device_revoked:{deviceId} Redis channel. On receipt, the gateway holding that device's socket disconnects it immediately and clears its Redis mappings. Reject any event from a socket whose device became revoked mid-session.

Acceptance criteria:

  • Revoking a device disconnects its live socket within seconds, on any node
  • Post-revocation events from that socket are rejected
  • Redis mappings cleaned up

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions