feat(ui): support Electron native OAuth redirects#8750
Conversation
🦋 Changeset detectedLatest commit: 2236c60 The changes in this PR will be included in the next version bump. This PR includes changesets to release 20 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
!snapshot |
@clerk/astro
@clerk/backend
@clerk/chrome-extension
@clerk/clerk-js
@clerk/expo
@clerk/expo-passkeys
@clerk/express
@clerk/fastify
@clerk/hono
@clerk/localizations
@clerk/nextjs
@clerk/nuxt
@clerk/react
@clerk/react-router
@clerk/shared
@clerk/tanstack-react-start
@clerk/testing
@clerk/ui
@clerk/upgrade
@clerk/vue
commit: |
This comment has been minimized.
This comment has been minimized.
|
!snapshot |
This comment has been minimized.
This comment has been minimized.
|
!snapshot |
This comment has been minimized.
This comment has been minimized.
|
!snapshot |
This comment has been minimized.
This comment has been minimized.
|
!snapshot |
This comment has been minimized.
This comment has been minimized.
|
!snapshot |
This comment has been minimized.
This comment has been minimized.
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository YAML (base), Repository UI (inherited) Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Comment |
|
!snapshot |
|
Hey @wobsoriano - the snapshot version command generated the following package versions:
Tip: Use the snippet copy button below to quickly install the required packages. npm i @clerk/astro@3.3.4-snapshot.v20260608163957 --save-exact
npm i @clerk/backend@3.5.1-snapshot.v20260608163957 --save-exact
npm i @clerk/chrome-extension@3.1.33-snapshot.v20260608163957 --save-exact
npm i @clerk/clerk-js@6.15.0-snapshot.v20260608163957 --save-exact
npm i @clerk/expo@3.3.2-snapshot.v20260608163957 --save-exact
npm i @clerk/expo-passkeys@1.1.2-snapshot.v20260608163957 --save-exact
npm i @clerk/express@2.1.24-snapshot.v20260608163957 --save-exact
npm i @clerk/fastify@3.1.34-snapshot.v20260608163957 --save-exact
npm i @clerk/hono@0.1.34-snapshot.v20260608163957 --save-exact
npm i @clerk/localizations@4.7.2-snapshot.v20260608163957 --save-exact
npm i @clerk/msw@0.0.32-snapshot.v20260608163957 --save-exact
npm i @clerk/nextjs@7.4.4-snapshot.v20260608163957 --save-exact
npm i @clerk/nuxt@2.5.4-snapshot.v20260608163957 --save-exact
npm i @clerk/react@6.7.4-snapshot.v20260608163957 --save-exact
npm i @clerk/react-router@3.3.4-snapshot.v20260608163957 --save-exact
npm i @clerk/shared@4.16.0-snapshot.v20260608163957 --save-exact
npm i @clerk/tanstack-react-start@1.3.4-snapshot.v20260608163957 --save-exact
npm i @clerk/testing@2.0.36-snapshot.v20260608163957 --save-exact
npm i @clerk/ui@1.16.0-snapshot.v20260608163957 --save-exact
npm i @clerk/upgrade@2.0.4-snapshot.v20260608163957 --save-exact
npm i @clerk/vue@2.3.4-snapshot.v20260608163957 --save-exact |
Description
Adds experimental support for Electron native OAuth redirects in Clerk UI. When an Electron preload bridge is available on
window.__clerk_internal_electron, the supported Clerk UI flows can open the OAuth or SSO verification URL in the system browser, wait for the custom-scheme callback, reload the Clerk resource, and continue the existing Clerk post-auth flow.This PR is intentionally scoped to:
SignInSignUpUserProfile, including enterprise account connectionsThis does not change the default web behavior. If the Electron bridge is not present, components continue using the existing redirect or popup flows.
The future
@clerk/electronSDK is expected to provide the Electron-specific runtime pieces:window.__clerk_internal_electronWith that SDK installed, developers should be able to keep using their normal renderer package, such as
@clerk/react, and the prebuilt components will choose the Electron flow automatically when the bridge exists.Type of change