Skip to content

feat(playground): open device via grant request#79

Draft
marcus-pousette wants to merge 1 commit intomainfrom
feat/invite-flows
Draft

feat(playground): open device via grant request#79
marcus-pousette wants to merge 1 commit intomainfrom
feat/invite-flows

Conversation

@marcus-pousette
Copy link
Copy Markdown
Collaborator

Stacked on #75 (base branch: feat/auth-cose-cwt).

This is the first slice of #77.

What changed

Open device no longer puts secrets in the URL hash. Instead, it opens a join only tab with an invite request id, waits for that tab to announce its replica pubkey, then sends a targeted grant (capability token plus doc payload key) over BroadcastChannel.

This keeps the demo flow one click, but avoids copying or leaking an invite link by default.

Notes

This is still a playground level flow. The payload key is sent as plaintext on the local BroadcastChannel. The protocol level upgrade for sealed key distribution and revocation lives in #77 and #78.

@marcus-pousette marcus-pousette changed the base branch from feat/auth-cose-cwt to main February 17, 2026 10:04
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