Skip to content

fix: Allow wallet iframe storage access#36

Merged
coffeexcoin merged 1 commit into
mainfrom
coffee/fix-iframe-auth-detect
May 9, 2026
Merged

fix: Allow wallet iframe storage access#36
coffeexcoin merged 1 commit into
mainfrom
coffee/fix-iframe-auth-detect

Conversation

@coffeexcoin
Copy link
Copy Markdown
Contributor

@coffeexcoin coffeexcoin commented May 9, 2026

Summary

Adds the Storage Access API permissions needed for the wallet-host iframe to request access to its own unpartitioned cookies/storage while embedded in a third-party dApp.

The SDK iframe sandbox now includes allow-storage-access-by-user-activation, and the iframe allow attribute grants storage-access to the wallet host origin. This does not expose wallet cookies to the embedding dApp; it only allows the wallet document to request access to its own storage under browser third-party-cookie policies.

Validation

  • pnpm --filter @abstract-foundation/wallet-sdk test
  • pnpm --filter @abstract-foundation/wallet-sdk typecheck
  • pnpm exec biome check packages/wallet-sdk/src/core/Dialog.ts packages/wallet-sdk/test/src/Dialog.test.ts

@vercel
Copy link
Copy Markdown

vercel Bot commented May 9, 2026

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

Project Deployment Actions Updated (UTC)
agw-wallet-sdk-demo Ready Ready Preview, Comment May 9, 2026 3:20pm
2 Skipped Deployments
Project Deployment Actions Updated (UTC)
agw-nextjs Skipped Skipped May 9, 2026 3:20pm
mpp-demo Skipped Skipped May 9, 2026 3:20pm

Request Review

@coffeexcoin coffeexcoin changed the title [codex] Allow wallet iframe storage access fix: Allow wallet iframe storage access May 9, 2026
@coffeexcoin coffeexcoin marked this pull request as ready for review May 9, 2026 15:20
@chatgpt-codex-connector
Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@coffeexcoin coffeexcoin merged commit d601b08 into main May 9, 2026
13 checks passed
@coffeexcoin coffeexcoin deleted the coffee/fix-iframe-auth-detect branch May 9, 2026 15:20
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