Skip to content

Add JWT authentication for Tiptap collaboration on proposals#606

Draft
valentin0h wants to merge 1 commit intodevfrom
proposal-auth-tiptap
Draft

Add JWT authentication for Tiptap collaboration on proposals#606
valentin0h wants to merge 1 commit intodevfrom
proposal-auth-tiptap

Conversation

@valentin0h
Copy link
Collaborator

Summary

  • Adds a getCollabToken tRPC endpoint that issues a scoped JWT for Tiptap Cloud collaboration
  • Token is generated per-proposal when the user opens the editor, scoped to a single document ID
  • Access is gated by profile-level READ permission via access-zones

Users can only access collaboration documents for proposals where they
have profile-level READ access (via profileUsers table). The server
generates a scoped JWT containing allowedDocumentNames so Tiptap Cloud
enforces per-document access control.
@vercel
Copy link
Contributor

vercel bot commented Feb 15, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
app Error Error Feb 15, 2026 1:46pm

Request Review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant