Ran into this while spiking the Electron desktop shell. Clerk loads fine in the renderer and email/password should work, but trying to sign in with a passkey just fails silently. The main process log gives it away:
FIDO: Cannot use Bluetooth because the responsible app for the process
does not have Bluetooth metadata in its Info.plist. Launch from Finder to fix.
So it's the cross-device passkey flow (the kind that talks to your phone over Bluetooth). macOS won't let the app touch Bluetooth unless the bundle declares it, and the bare electron . dev binary obviously doesn't. Not a Clerk problem.
Nothing to do right now — for the spike I'm just using email/password. But when we get to packaging the app we need to remember to:
- add
NSBluetoothAlwaysUsageDescription to the Info.plist (electron-builder mac.extendInfo)
- give it the Bluetooth entitlement, and sign + notarize
- then actually retest a passkey login in the real packaged build, not the dev binary
Leaving this here so it doesn't get lost. Came out of the desktop shell work (task #273).
Ran into this while spiking the Electron desktop shell. Clerk loads fine in the renderer and email/password should work, but trying to sign in with a passkey just fails silently. The main process log gives it away:
So it's the cross-device passkey flow (the kind that talks to your phone over Bluetooth). macOS won't let the app touch Bluetooth unless the bundle declares it, and the bare
electron .dev binary obviously doesn't. Not a Clerk problem.Nothing to do right now — for the spike I'm just using email/password. But when we get to packaging the app we need to remember to:
NSBluetoothAlwaysUsageDescriptionto the Info.plist (electron-buildermac.extendInfo)Leaving this here so it doesn't get lost. Came out of the desktop shell work (task #273).