You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Let |C|, the [=client data=] claimed as collected during the credential creation, be the result of [=parse JSON from bytes|parsing JSON from the bytes=] in |response|.{{AuthenticatorResponse/clientDataJSON}}.
However, this is most likely invoked RP-server-side, and is JS-specific (as we discussed). I'm thinking we can make it implementation-non-specific by referencing https://encoding.spec.whatwg.org/#utf-8-decode, which is what parse JSON from bytes does in any case, and indicating that any impl is fine as long as the end results are the same as UTF-8 decode provides.
we recently insterted:
However, this is most likely invoked RP-server-side, and is JS-specific (as we discussed). I'm thinking we can make it implementation-non-specific by referencing https://encoding.spec.whatwg.org/#utf-8-decode, which is what parse JSON from bytes does in any case, and indicating that any impl is fine as long as the end results are the same as UTF-8 decode provides.
See PR #793
also fixes #712
The text was updated successfully, but these errors were encountered: