WebAuthn icon indicating copy to clipboard operation
WebAuthn copied to clipboard

1Pass Integration

Open SilverOkami42 opened this issue 1 year ago • 5 comments

I have been able to make this work flawlessly w/ my app, but still can't seem to get 1Pass to work.

The console tells me... passkey-save-prompt/1r4ne3m received error: "save-passkey-failed"

For note, I'm not using any root certificates either, as I didn't find those relevant to the rest of my setup, but not sure if I need to use one there for it to work, or should I just include all the ones in the example?

SilverOkami42 avatar Jan 17 '25 19:01 SilverOkami42

I did discover, trying to use 1pass for other services seems to fail as well, so perhaps it's 1pass with the issue. But if you had any advice, or if it works successfully for you, I'd be curious what could be different. I did turn off all ad-blocks for testing, and disabled any VPNs I'm using, doesn't seem to make a difference. So I'm not sure what other configs could be conflicting in my use-case.

SilverOkami42 avatar Jan 27 '25 16:01 SilverOkami42

I just tested with my implementation on 1password and it works for me. Could it be your implementation?

Michael-MCP avatar Mar 18 '25 23:03 Michael-MCP

I'm trying the WebAuthn Test from the README and it seems to error with 1Password

Image

donatj avatar Jul 28 '25 17:07 donatj

ah, my pull request never got accepted. https://github.com/lbuchs/WebAuthn/pull/100 Software passkeys use a signature of 0 but this is sometimes registered as NULL. you need to change the default NULL to 0 in server.php. if that fixes it give my pull request nudge.

Michael-MCP avatar Jul 28 '25 19:07 Michael-MCP

I still get this error w/ the 1Pass browser extension:

Image

And the 1pass extension gives this console error: PortManager: passkey-save-prompt/a3g35g closed by background with error "save-passkey-failed"

Even when testing here it acts the same way: https://webauthn.lubu.ch/_test/client.html

I included $data->signatureCounter ??= 0; in my server sides scripts... however it doesnt seem to get that far as it seems to fail it's creation process after only hitting this server function: getCreateArgs

SilverOkami42 avatar Jul 29 '25 12:07 SilverOkami42