Forward OAuth deep-link callbacks to primary Electron process on Windows and Linux
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. The createClerkBridge function now includes isPrimaryInstance flag and manageSingleInstanceLock option to control single-instance lock behavior.
Patch Changes
-
Forward OAuth deep-link callbacks to the primary Electron process on Windows and Linux, and bring the (#9278) by @jeremy-clerk
signing-in window to the front when the callback arrives.
Delivering those callbacks requires Electron's single-instance lock, so
createClerkBridgenow
acquires it on Windows and Linux wheneverrendereris configured, and quits secondary processes
after forwarding their arguments. Applications that previously ran side-by-side instances on those
platforms will become single-instance. macOS is unaffected. Two new escape hatches: the returned
bridge exposesisPrimaryInstanceso the application can stop its own bootstrap in a secondary
process, andmanageSingleInstanceLock: falseleaves the lock to applications that manage it
themselves. -
Updated dependencies []:
- @clerk/react@6.12.9
Source: original entry ↗
More from Clerk
Follow Clerk to get its new changes in your feed and email digest.
@clerk/vue 1.17.26
Updated @clerk/types dependency to version 4.101.28.
@clerk/nuxt@1.13.34
Updated internal dependencies for @clerk/types, @clerk/backend, and @clerk/vue to latest patch versions.
@clerk/testing dependencies updated
Updated @clerk/types to 4.101.28 and @clerk/backend to 2.33.8 to ensure compatibility and include latest improvements.