## The problem
Issue NangoHQ/nango#5399 (closed, 7 comments): ## Summary We're building a Tauri desktop application that integrates with third-party APIs via Nango. We discovered that the `@nangohq/frontend` SDK doesn't work in desktop app webviews because it relies on `window.open()` for popup-based OAuth flows. After analyzing Nango's codebase, we found a workaround using the existing WebSocket notification system, but we believe this functionality should be officially exposed in the SDK. ## The Problem Tauri (and Electron) desktop apps use webviews that don't support `window.open()` popups the same way browsers do.
## What fixed it
Nango's @nangohq/frontend SDK relies on window.open() popups for OAuth, which Tauri/Electron webviews do not support. The WebSocket-based flow will not be exposed in the SDK (maintainer decision; auth flow changes have subtle knock-on effects). Two paths that work today without popups: 1) Connect Link: open the Connect UI in the system browser, no SDK needed (see the Nango docs on sharing a connect link). 2) A self-hosted web page running the @nangohq/frontend SDK, opened from Tauri via the system browser.