Repo Example Fails at User Verification #416
Replies: 4 comments 7 replies
-
Did you start the backend server too?
…On Wed, Jul 19, 2023 at 11:49 AM Jeremy Neander ***@***.***> wrote:
I'm trying to run the example included in the repo, but am encountering an
issue at registration. This step fails with the following error message,
both in Chrome and Safari on macOS. I'm still learning about passkeys, so
it's very possible I'm doing something wrong.
Oh no, something went wrong! Response:
{"error":"User verification required, but user could not be verified"}
[image: Screenshot 2023-07-19 at 10 46 50 AM]
<https://user-images.githubusercontent.com/880186/254629792-1c4615e6-d08e-4e31-9964-de3660e4d1ef.png>
—
Reply to this email directly, view it on GitHub
<#416>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAEVLYHRIUDLZIF7S7VFESLXQ76XXANCNFSM6AAAAAA2QEFYJA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Do you see any errors in the chrome developer console after you reload the
webpage?
…On Wed, Jul 19, 2023 at 11:58 AM Jeremy Neander ***@***.***> wrote:
I'm running the Express server in the example folder.
https://github.com/MasterKale/SimpleWebAuthn/blob/master/example/package.json
—
Reply to this email directly, view it on GitHub
<#416 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAEVLYB6WSC3HQBGI4S7BKTXQ77Z7ANCNFSM6AAAAAA2QEFYJA>
.
You are receiving this because you commented.Message ID:
***@***.***
com>
|
Beta Was this translation helpful? Give feedback.
-
Hello @jneander, can you please include the JSON return value from the call to It would also help to know what authenticator you're attempting to use, as well as versions of your OS, Chrome, and Safari browsers. LASTLY, I'll ask if you're on an MBP, and if you are if it's in clamshell mode; alternatively I'm also curious if you're on a Mac Mini, if you're not using an MBP. |
Beta Was this translation helpful? Give feedback.
-
Are you using an external keyboard with finger print reader to authenticate
to your mac while in clamshell mode?
…On Wed, Jul 19, 2023 at 12:43 PM Jeremy Neander ***@***.***> wrote:
The response from /generate-registration-options:
{
"challenge": "VPspjTRVC4dk_XYnqRhBBuwrX4kP22YTGdYD9GdsWXQ",
"rp": {
"name": "SimpleWebAuthn Example",
"id": "localhost"
},
"user": {
"id": "internalUserId",
"name": ***@***.***",
"displayName": ***@***.***"
},
"pubKeyCredParams": [
{
"alg": -7,
"type": "public-key"
},
{
"alg": -257,
"type": "public-key"
}
],
"timeout": 60000,
"attestation": "none",
"excludeCredentials": [],
"authenticatorSelection": {
"residentKey": "discouraged",
"requireResidentKey": false
},
"extensions": {
"credProps": true
}
}
The data sent to /verify-registration:
{
id: '1SFVij4bRdp8bQUuz4sZ4j7MJWHc6sD4CV6MtBumaHM',
rawId: '1SFVij4bRdp8bQUuz4sZ4j7MJWHc6sD4CV6MtBumaHM',
response: {
attestationObject: 'o2NmbXRkbm9uZWdhdHRTdG10oGhhdXRoRGF0YVikSZYN5YgOjGh0NBcPZHZgW4_krrmihjLHmVzzuoMdl2NBAAAAAK3OAAI1vMYKZIsLJfHwVQMAINUhVYo-G0XafG0FLs-LGeI-zCVh3OrA-AlejLQbpmhzpQECAyYgASFYIBRD9sY65VdYiH5Hcu4ZK_SDCkgiVUFyCVg1Zi8N5CDjIlgg_e_1GMZTSFoDgSN0Tj_P3U-FG44n7oyTWK903MOpW5w',
clientDataJSON: 'eyJ0eXBlIjoid2ViYXV0aG4uY3JlYXRlIiwiY2hhbGxlbmdlIjoiVlBzcGpUUlZDNGRrX1hZbnFSaEJCdXdyWDRrUDIyWVRHZFlEOUdkc1dYUSIsIm9yaWdpbiI6Imh0dHA6Ly9sb2NhbGhvc3Q6ODAwMSIsImNyb3NzT3JpZ2luIjpmYWxzZX0',
transports: [ 'internal' ]
},
type: 'public-key',
clientExtensionResults: { credProps: { rk: true } },
authenticatorAttachment: 'platform'
}
I am on the latest generation of MacBook Pro. It's running in clamshell
mode.
- macOS Ventura 13.4.1
- Chrome 114.0.5735.198
- Safari Version 16.5.1 (18615.2.9.11.7)
—
Reply to this email directly, view it on GitHub
<#416 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAEVLYDKPI77CUISN7Q44GTXRAFBXANCNFSM6AAAAAA2QEFYJA>
.
You are receiving this because you commented.Message ID:
***@***.***
com>
|
Beta Was this translation helpful? Give feedback.
-
I'm trying to run the example included in the repo, but am encountering an issue at registration. This step fails with the following error message, both in Chrome and Safari on macOS. I'm still learning about passkeys, so it's very possible I'm doing something wrong.
Beta Was this translation helpful? Give feedback.
All reactions