convex-invite

convex-invite

Secure, single-use invitation lifecycles for Convex applications.

convex-invite is a reusable Convex component for issuing, accepting, declining, revoking, expiring, and resending invitations. It owns the token and lifecycle invariants while your application keeps authority over users and access.

Host-owned security boundary

Authentication, authorization, audience verification, message delivery, and membership or domain grants remain in host code. Never expose the component functions directly to clients.

What it provides

  • 256-bit bearer tokens with only versioned SHA-256 digests persisted
  • Single-use, audience-bound acceptance and decline
  • Race-safe issue, expiry, revoke, and resend transitions
  • Idempotent acceptance results for atomic host grants
  • Scope-safe management, export, delivery summaries, and bounded cleanup

Start here

On this page