Skip to content

[codex] fix Windows OAuth deep-link forwarding#1

Closed
Jessomadic wants to merge 1 commit into
mainfrom
codex/windows-oauth-deeplink-forwarding
Closed

[codex] fix Windows OAuth deep-link forwarding#1
Jessomadic wants to merge 1 commit into
mainfrom
codex/windows-oauth-deeplink-forwarding

Conversation

@Jessomadic
Copy link
Copy Markdown
Owner

Summary

  • Add a Windows-only pre-CEF named-pipe bridge for openhuman:// callbacks.
  • Forward OAuth deep-link argv from the secondary process to the primary before the existing CEF mutex guard exits.
  • Drain queued URLs after Tauri deep-link registration so the existing frontend listener handles login normally.

Root Cause

The Windows pre-CEF mutex guard exits secondary OpenHuman.exe launches before Tauri's single-instance/deep-link plugins can run. Browser OAuth callbacks arrive as a secondary launch with openhuman://auth?token=..., so the callback URL was dropped while the already-running app only regained focus.

Validation

  • cargo fmt --manifest-path app/src-tauri/Cargo.toml --all -- --check
  • git diff --check
  • cargo metadata --manifest-path app/src-tauri/Cargo.toml --format-version 1 --no-deps

Blocked locally:

  • cargo test --manifest-path app/src-tauri/Cargo.toml deep_link_ipc_windows --lib reached native build scripts but could not complete because this machine is missing libclang.dll for whisper-rs-sys and ninja for cef-dll-sys.

Related

@Jessomadic Jessomadic closed this May 22, 2026
@Jessomadic Jessomadic deleted the codex/windows-oauth-deeplink-forwarding branch May 22, 2026 00:05
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.

Windows desktop OAuth callbacks do not reach the running app instance

1 participant