According to docs, apple gives next fields properties while registration: ASPublicKeyCredential + ASPasskeyRegistrationCredential
credentialID
rawClientDataJSON
attestationObject
and not authenticatorData which is required while verifying at the server:
|
const authenticator = parseAuthenticator(registrationJson.response.authenticatorData); |
It looks like I’m currently forced to switch to another library, where server-side verification only requires these two values:
https://github.com/MasterKale/SimpleWebAuthn/blob/786d2d8cd4560c36b6361f818a8ddaa8f0301012/packages/server/src/types/index.ts#L157-L167
I think this is quite important, since the passkeys server can serve not just web clients. Please feel free to close this if it's beyond the scope of this package.
According to docs, apple gives next fields properties while registration: ASPublicKeyCredential + ASPasskeyRegistrationCredential
credentialIDrawClientDataJSONattestationObjectand not
authenticatorDatawhich is required while verifying at the server:webauthn/src/server.ts
Line 39 in 9b3908a
It looks like I’m currently forced to switch to another library, where server-side verification only requires these two values:
https://github.com/MasterKale/SimpleWebAuthn/blob/786d2d8cd4560c36b6361f818a8ddaa8f0301012/packages/server/src/types/index.ts#L157-L167
I think this is quite important, since the passkeys server can serve not just web clients. Please feel free to close this if it's beyond the scope of this package.