Skip to content

[bug] I embedded a complete n8n into an iframe, but it couldn't log in #14835

@hairyf

Description

@hairyf

Describe the bug

After packaging and starting, I proceeded to log in, but encountered this error:

Image

I'm a newbie. I have searched for a long time, but haven't found a good solution

Reproduction

No response

Expected behavior

No response

Full tauri info output

[✔] Environment
    - OS: Windows 10.0.26200 x86_64 (X64)
    ✔ WebView2: 144.0.3719.93
    ✔ MSVC: Visual Studio Community 2022
    ✔ rustc: 1.91.1 (ed61e7d7e 2025-11-07)
    ✔ cargo: 1.91.1 (ea2d97820 2025-10-10)
    ✔ rustup: 1.28.2 (e4f3ad6f8 2025-04-28)
    ✔ Rust toolchain: stable-x86_64-pc-windows-msvc (default)
    - node: 22.14.0
    - pnpm: 10.28.1
    - npm: 10.9.2
    - bun: 1.3.6
    - deno: deno 2.2.11

[-] Packages
    - tauri 🦀: 2.9.3, (outdated, latest: 2.9.5)
    - tauri-build 🦀: 2.5.2, (outdated, latest: 2.5.3)
    - wry 🦀: 0.53.5, (outdated, latest: 0.54.1)
    - tao 🦀: 0.34.5
    - @tauri-apps/api  ⱼₛ: 2.9.1
    - @tauri-apps/cli  ⱼₛ: 2.9.6

[-] Plugins
    - tauri-plugin-opener 🦀: 2.5.2, (outdated, latest: 2.5.3)
    - @tauri-apps/plugin-opener  ⱼₛ: 2.5.3
    - tauri-plugin-process 🦀: 2.3.1
    - @tauri-apps/plugin-process  ⱼₛ: 2.3.1
    - tauri-plugin-updater 🦀: 2.9.0
    - @tauri-apps/plugin-updater  ⱼₛ: 2.9.0
    - tauri-plugin-sql 🦀: 2.3.1
    - @tauri-apps/plugin-sql  ⱼₛ: 2.3.1
    - tauri-plugin-http 🦀: 2.5.6
    - @tauri-apps/plugin-http  ⱼₛ: 2.5.6
    - tauri-plugin-store 🦀: 2.4.1, (outdated, latest: 2.4.2)
    - @tauri-apps/plugin-store  ⱼₛ: 2.4.2
    - tauri-plugin-dialog 🦀: 2.6.0
    - @tauri-apps/plugin-dialog  ⱼₛ: 2.6.0
    - tauri-plugin-fs 🦀: 2.4.5
    - @tauri-apps/plugin-fs  ⱼₛ: 2.4.5
    - tauri-plugin-notification 🦀: 2.3.3
    - @tauri-apps/plugin-notification  ⱼₛ: 2.3.3

[-] App
    - build-type: bundle
    - CSP: unset
    - frontendDist: ../dist
    - devUrl: http://localhost:1420/
    - framework: React
    - bundler: Vite

Stack trace


Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions