Skip to content

Error: Something went wrong opening pop-up #8636

@JameHome

Description

@JameHome

Issue Summary
Environment:

Framework: Nuxt 3
Language: TypeScript
SDK: thirdweb v5
Target: Mobile Safari (iOS)
Problem:
When using the inAppWallet social login (Google, Discord, etc.) with mode: "popup" in TypeScript, the popup window fails to open on Safari (iOS).
On the first click, no popup appears and the following error is thrown:

Something went wrong opening pop-up

The issue persists regardless of whether I use async/await, .then() chains

The problem is reproducible even with the simplest direct SDK usage, without any custom logic or store.
What I tried:

Directly calling inAppWallet().connect() in a click handler (no async/await).
Using .then() instead of await.

Ensuring COOP headers are set to same-origin-allow-popups.

Confirmed that regular window.open works in the same environment.
Result:

Only mode: "redirect" works, but it causes a full page reload and state loss, which is not acceptable for my use case.
All popup-based methods fail on Safari with the same error.
Expected:

The popup window should open on the first user click, and the OAuth flow should proceed as it does in other browsers.
Request:

Please investigate why inAppWallet social login popups cannot open on Safari (iOS) using the TypeScript SDK, and provide a workaround or fix.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions