You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
WebAuthn authentication prompt does not work on macOS #27355
I agree to follow the Code of Conduct that this project adheres to.
I have searched the issue tracker for an issue that matches the one I want to file, without success.
Issue Details
The authentication prompt for public key credentials is not working/supported in electron on macOS. Platform authenticators (eg. Windows Hello, TouchID) do not appear to be supported for any o/s.
Electron Version:
11.1.1
Operating System:
macOS 11.0.1 (M1)
Last Known Working Electron version:
n/a
Expected Behavior
Call to navigator.credentials.create({ publicKey: ... }) opens an authentication prompt on macOS.
Actual Behavior
Call to navigator.credentials.create({ publicKey: ... }) times out and no prompt is displayed.
On macOS, actually, there is no popup, BUT the request is being made on your key (Hit your yubikey and it works)!
Sounds the interface to communicate (asking for pin for instance) is not bound into macOS build.
I have the following errors in the console:
[42622:0406/171907.136506:ERROR:device_event_log_impl.cc(214)] [17:19:07.136] FIDO: fido_request_handler_base.cc:183 Cannot test Bluetooth power status because process is not self-responsible. Launch from Finder to fix.
[42622:0406/171919.350892:ERROR:device_event_log_impl.cc(214)] [17:19:19.350] FIDO: get_assertion_request_handler.cc:648 Failing assertion request due to status 46 from usb-1050:0402
This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. If you have any new additional information—in particular, if this is still reproducible in the latest version of Electron or in the beta—please include it with your comment!
This issue has been closed due to inactivity, and will not be monitored. If this is a bug and you can reproduce this issue on a supported version of Electron please open a new issue and include instructions for reproducing the issue.
The workflow is not valid. .github/workflows/issue-commented.yml (Line: 13, Col: 9): Unexpected symbol: '"Bot"'. Located at position 190 within expression: contains(github.event.issue.labels.*.name, 'blocked/need-repro') && !contains(fromJSON('["MEMBER", "OWNER"]'), github.event.comment.author_association) && github.event.comment.user.type != "Bot"
@fix did you manage to get it to work I have the following error on macos.
[75159:0328/142735.584924:ERROR:device_event_log_impl.cc(201)] [14:27:35.584] FIDO: fido_discovery_factory.cc:70 Cannot start caBLE because process is not self-responsible. Launch from Finder to fix.
[75159:0328/142735.585025:ERROR:device_event_log_impl.cc(201)] [14:27:35.584] FIDO: fido_request_handler_base.cc:294 Cannot test Bluetooth power status because process is not self-responsible. Launch from Finder to fix.
Just be aware that macOS requires a bit more setup than a browser environment - there are a few platform-specific configurations to add. Our README covers everything this step-by-step.
Feedback, issue reports, and pull requests are very welcome.
Reacted by Evgeny, Dmitry Salnikov, lomchik, ZHUO Xu and Huy Tran
Activity
blackph0en1x commentedon Oct 27, 2021
Any news on this issue? I've been told from bitwarden developers that it is still not working.
fix commentedon Feb 21, 2022
Hi, I have not tested, but from my recent experience might be that user interaction is REQUIRED before performing credentials create/get request
See https://developer.apple.com/forums/thread/651669
I had no choice but do a popup clicked by the user before so it does not timeout.
fix commentedon Apr 6, 2022
ok i have made some test.
On macOS, actually, there is no popup, BUT the request is being made on your key (Hit your yubikey and it works)!
Sounds the interface to communicate (asking for pin for instance) is not bound into macOS build.
I have the following errors in the console:
github-actions commentedon Oct 6, 2022
This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. If you have any new additional information—in particular, if this is still reproducible in the latest version of Electron or in the beta—please include it with your comment!
github-actions commentedon Nov 5, 2022
This issue has been closed due to inactivity, and will not be monitored. If this is a bug and you can reproduce this issue on a supported version of Electron please open a new issue and include instructions for reproducing the issue.
danyg commentedon Jul 3, 2023
This still an issue
Electron 25.2.0
Mac OSX: 13.4.1 (Apple Silicon, M1 Pro)
Binomi0 commentedon Jul 26, 2023
This still an issue
Electron 22
Mac OSX: 13.4.1 (Apple Silicon, M1 Pro)
arioooooo commentedon Sep 6, 2023
any update about this? it's not work in electron@^26.1.0 in mac
mahnunchik commentedon Sep 15, 2023
Why it is closed? It is still present in electron 28
mahnunchik commentedon Sep 15, 2023
https://github.com/electron/electron/actions/runs/6201050660
WyattMufson commentedon Aug 15, 2024
Still an issue
vikram1992 commentedon Nov 9, 2024
Is there any plan to fix this issue?
shengliang74 commentedon Jan 3, 2025
It is still present in electron V33.2.1, I hope it can be fixed.
gavan-x commentedon Mar 28, 2025
@fix did you manage to get it to work I have the following error on macos.
so no dialog prompt shows up
arioooooo commentedon Apr 8, 2025
bump
emiosproj commentedon Jun 23, 2025
bump, still an issue in electron 36.2.0. Can be tested with https://webauthn.io/
pavlo-liapin commentedon Dec 11, 2025
We've released an open-source add-on that fills in the missing behavior by calling Apple's lower-level APIs directly - https://github.com/vault12/electron-webauthn-mac.
Just be aware that macOS requires a bit more setup than a browser environment - there are a few platform-specific configurations to add. Our README covers everything this step-by-step.
Feedback, issue reports, and pull requests are very welcome.