Change8

@clerk/electron@0.0.24

Breaking Changes
📦 clerkView on GitHub →
1 breaking1 features🔧 1 symbols

Summary

This patch improves OAuth deep-link handling in Electron applications on Windows and Linux by ensuring callbacks are forwarded to the primary process and the signing-in window is brought forward. It also introduces changes to manage Electron's single-instance lock, potentially affecting multi-instance applications.

⚠️ Breaking Changes

  • Applications that previously ran side-by-side Electron instances on Windows and Linux will now become single-instance due to the acquisition of Electron's single-instance lock by `createClerkBridge` to handle OAuth deep-link callbacks. To maintain multi-instance behavior, set `manageSingleInstanceLock: false` in `createClerkBridge`.

Migration Steps

  1. If your application relies on running side-by-side Electron instances on Windows and Linux, consider setting `manageSingleInstanceLock: false` in `createClerkBridge` to manage the single-instance lock yourself.

✨ New Features

  • OAuth deep-link callbacks are now forwarded to the primary Electron process on Windows and Linux, and the signing-in window is brought to the front when the callback arrives.

Affected Symbols