webauthn-rs: Unable to get 1Password to save passkeys for axum example

I did this

cd webauthn-rs/tutorial/server/axum
cargo run --no-default-features --features javascript

Then navigated to http://localhost:8080/ on firefox (version 118.0 (64-bit)) with the 1password extension installed. Entered foobar in the field and clicked register. 1password popup appears, I select a vault and click “save”.

I also did the same thing on safari with the 1password extension installed there.

I expected the following

1password to save the passkey, as it does for example on https://webauthn.io/

What actually happened

In both safari and firefox I got the following error:

Screenshot 2023-09-27 at 01 52 02

There’s the error in the Firefox inspector console:

passkey-save-prompt received error: create-passkey-failed [notification.js:2:3560034](moz-extension://4fb6bc19-00d5-4be3-8d2d-8bcde1eb2f6c/inline/notification/notification.js)

I tailed the various logs in ~/Library/Group\ Containers/2BUA8C4S2C.com.1password/Library/Application\ Support/1Password/Data/logs but did not see any interesting messages.

Version (and git commit)

https://github.com/kanidm/webauthn-rs/commit/840a6f5cc7f65bd3c585ab00293addf76f70d973

Operating System / Version

MacOS Ventura 13.5.1 (22G90) Firefox 118.0 (64-bit) 1Password for Mac 8.10.16 (81016047) 1Password in the browser 2.15.1 1Password for safari 2.15.1

Any other comments

I was able to successfully log in on Safari (using presumably the apple keychain) with the same server running, so it seems to be a 1Password issue.

Which of course could mean it’s out of your hands and I need to open a ticket with them, but the fact that https://webauthn.io/ works suggests something may be up here.

About this issue

  • Original URL
  • State: closed
  • Created 9 months ago
  • Comments: 20 (11 by maintainers)

Commits related to this issue

Most upvoted comments

I think we the PR that @Progdrasil made, we can close this. Thanks everyone!