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
The examples also include demonstrations of how to pass JSON-ified responses, using base64url encoding for ArrayBuffer values, into parse_registration_credential_json and parse_authentication_credential_json to be automatically parsed by the methods in this library. An RP can pair this with corresponding custom front end logic, or one of several frontend-specific libraries (like @simplewebauthn/browser, for example) to handle encoding and decoding such values to and from JSON.
it would be helpful to include code that creates the JSON because there is no documentation anywhere about how to encode each of the fields. through inspecting the code, I was able to come up with
every client is going to need to send data in pretty much exactly this format, so it would be great to both document the format and provide this sample code
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
the docs currently say
it would be helpful to include code that creates the JSON because there is no documentation anywhere about how to encode each of the fields. through inspecting the code, I was able to come up with
every client is going to need to send data in pretty much exactly this format, so it would be great to both document the format and provide this sample code
Beta Was this translation helpful? Give feedback.
All reactions