Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upExpose `AuthenticatorResponse` methods? #25
Comments
|
If anyone would like to be able to use these, it would help if you could leave a comment to let us know! Otherwise this might not be a priority. |
|
I would love to see |
Chrome 85 is adding:
getPublicKey()getPublicKeyAlgorithm()getAuthenticatorData()There's also
getTransports().https://w3c.github.io/webauthn/#iface-authenticatorattestationresponse
We could:
base64urlconversion to help with this.)baseurl64.getClientExtensionResults()already).The latter is the most convenient, but it results in extra data. The simple use case for
@github/webauthn-jsonis to send the results to the server, which still has to process the response from CBOR. These methods would not really be useful for this case.However, there are cases where you might want to do some or all processing on the client side, where this could save code.