Skip to content

Fix native Figma connection and draft request transport - #53

Merged
lexdoudkin merged 1 commit into
mainfrom
fix/figma-sandbox-random-ids
Oct 1, 2026
Merged

lexdoudkin merged 1 commit into
mainfrom
fix/figma-sandbox-random-ids

Conversation

@lexdoudkin

Copy link
Copy Markdown
Contributor

The native Figma plugin rendered but could not connect: its opaque UI sandbox lacks crypto.randomUUID, its main VM lacks the browser URL constructor, and native replies arrive from Figma's top-frame relay instead of the immediate parent.

Generate secure request identities through getRandomValues, validate the exact Minds HTTPS authority without browser APIs, and accept replies only from the official Figma origin and owning parent/top frame. Native connection now opens the Minds browser consent page, completes OAuth, and loads Studies.

Validation: secure-ID, allowed-link, foreign-frame and panel retry/consent regressions; marketplace type-check and build passed. Native OAuth and callback were checked on Alexander's MacBook. Complete selected-artwork research and public submission remain separate acceptance gates.

@lexdoudkin
lexdoudkin merged commit ef23d7a into main Oct 1, 2026
2 checks passed
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