I have been struggling for many hours trying to figure out where to get the transports data that so many guides suggest to store in a DB along with the credential data. After digging for a bit, I'm wondering if I'm doing things wrong or if this package is missing it.
final String clientDataJSON;
final String attestationObject;
However, looking at the json type the javascript code uses (PublicKeyCredentialWithAttestationJSON), we can see that the response field should be made of 3 fields:
I have been struggling for many hours trying to figure out where to get the
transports
data that so many guides suggest to store in a DB along with the credential data. After digging for a bit, I'm wondering if I'm doing things wrong or if this package is missing it.In the dart class for the response, there are only these fields:
However, looking at the json type the javascript code uses (
PublicKeyCredentialWithAttestationJSON
), we can see that theresponse
field should be made of 3 fields:Am I correct and it is indeed missing?