electron: WebAuthn authentication prompt does not work on macOS
Preflight Checklist
- I have read the Contributing Guidelines for this project.
- 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.
To Reproduce
- Load fiddle: https://gist.github.com/0e76ea8515d171c3e747c8814a8a659b
- Type a username
- Click “Register”
- Request times out after ~1m
Screenshots
Request timeout:

On Windows, the authentication prompt is displayed:
It also works on Chromium (macOS):

Additional Information
Related Issues:
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Reactions: 13
- Comments: 16 (4 by maintainers)
This still an issue Electron 25.2.0 Mac OSX: 13.4.1 (Apple Silicon, M1 Pro)
Still an issue
This still an issue Electron 22 Mac OSX: 13.4.1 (Apple Silicon, M1 Pro)