Opening sign-in on the desktop app immediately pops an OS passkey dialog. Nobody asked for it; it fires the moment the Clerk sign-in form mounts.
Root cause is upstream in @clerk/electron: its passkey provider tells clerk-js that quiet passkey autofill is supported, but then executes the autofill request as a modal prompt (native OS sheet on macOS/Windows, modal Chromium dialog on the renderer path). clerk-js auto-starts the autofill flow when the sign-in form mounts, so the dialog opens with zero user intent. Filed upstream: clerk/javascript#9496.
Until that's fixed, this wraps the provider and reports autofill as unsupported on desktop. clerk-js then never auto-starts the flow. The explicit "Use passkey" button still works, and web keeps its silent browser autofill.
No screenshots: the change removes an unprompted OS dialog, which the desktop UI itself never renders.
🤖 Change by Claude Code (Fable 5).
Note
Low Risk
Small Electron-only auth UX workaround with no change to web sign-in or passkey button behavior.
Overview
Desktop Electron no longer auto-opens an OS passkey prompt when the Clerk sign-in form mounts.
The app wraps @clerk/electron/passkeys and overrides isAutoFillSupported to always resolve to false, so clerk-js skips the quiet autofill flow that upstream currently runs as a modal. Explicit Use passkey on desktop is unchanged; web still uses the default provider without this wrapper.
Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit 018ca8af21b5db34b8619bc49d19783718a57068. Bugbot is set up for automated code reviews on this repo. Configure [here](https://www.cursor.com/dashboard/bugbot).
Note
Prevent passkey autofill dialog from appearing on sign-in mount in desktop app#
Overrides isAutoFillSupported in main.tsx to always resolve false, stopping the OS passkey prompt from triggering automatically when the sign-in view mounts. Explicit passkey usage remains functional. This works around an upstream issue in @clerk/electron.
Macroscope summarized 018ca8a.
Important
Review skipped#
Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the
.coderabbit.yamlfile in this repository. To trigger a single review, invoke the@coderabbitai reviewcommand.⚙️ Run configuration
Configuration used: Repository UI
Review profile: CHILL
Plan: Pro Plus
Run ID:
6c9bd640-6db3-49e1-af56-b40229a9a10aYou can disable this status message by setting the
reviews.review_statustofalsein the CodeRabbit configuration file.Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
❤️ Share