zlacker

[parent] [thread] 3 comments
1. zcdziu+(OP)[view] [source] 2024-12-27 02:09:15
Can anyone recommend a good dummy passkey provider to use when developing and testing RESTful authentication services that will rely on WebAuthn? Every example that I've seen online for interacting with a WebAuthn service assumes that you're working within the context of the browser and can use the Navigator APIs.

I like to use regular ol' cURL when testing out API endpoints, and it would be great if there were some kind of dummy CLI program that I could use to generate the WebAuthn key agreements and materials.

replies(2): >>lxgr+ga >>echees+3Q1
2. lxgr+ga[view] [source] 2024-12-27 04:57:59
>>zcdziu+(OP)
What exactly are you trying to test? Is there even a non-browser standard/protocol for using WebAuthN (which is a web standard, after all)?
replies(1): >>pabs3+ie
◧◩
3. pabs3+ie[view] [source] [discussion] 2024-12-27 06:20:48
>>lxgr+ga
There isn't even a non-JavaScript way to use WebAuthn, let alone a non-browser way to use it. You could manually rewrite the JS for each site into curl calls or something I suppose.
4. echees+3Q1[view] [source] 2024-12-27 22:03:26
>>zcdziu+(OP)
In Chrome Devtools, in the bottom panel, you can select WebAuthn, click Enable virtual authenticator environment, and create all the test passkeys you desire.
[go to top]