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/nuxt@3.1.11
Patch release updating internal dependencies for @clerk/shared, @clerk/backend, and @clerk/vue to their latest versions.
@clerk/ui dependency updates
Updated @clerk/shared and @clerk/localizations dependencies to their latest patch versions.
@clerk/nextjs 7.9.12
Patch release updating internal dependencies including @clerk/react, @clerk/shared, and @clerk/backend to their latest versions.