Intent to Prototype: Web Authentication API: JSON serialization methods

Skip to first unread message

Martin Kreichgauer

Dec 14, 2022, 5:04:04 PM12/14/22
to blink-dev, chrome-webauthn

Contact emails




The WebAuthn PublicKeyCredential.toJSON(), parseCreationOptionsFromJSON() and parseRequestOptionsFromJSON() methods let developers serialize a WebAuthn response into a JSON object or deserialize a WebAuthn request object from its JSON representation.

Blink component



Developers frequently complain that WebAuthn request and response objects cannot easily be serialized in order to pass them between a server and client in a HTTP request. We're therefore adding methods to the API that permit deserialization of WebAuthn requests from and serialization of responses to JSON.

Initial public proposal

TAG review

TAG review status

Not applicable


Interoperability and Compatibility

Gecko: No signal

WebKit: No signal

Web developers: No signals

Other signals:

WebView application risks

Does this intent deprecate or change behavior of existing APIs, such that it has potentially high risk for Android WebView-based applications?


Is this feature fully tested by web-platform-tests?


Flag name

Requires code in //chrome?


Tracking bug

Estimated milestones

No milestones specified

Link to entry on the Chrome Platform Status

This intent message was generated by Chrome Platform Status.

Rick Byers

Dec 16, 2022, 3:54:23 PM12/16/22
to Martin Kreichgauer, blink-dev, chrome-webauthn
Sounds good, thanks! Not needed for I2P, but for an upcoming I2S it would be good to have a link or two under "web developer signals" to back up the "developers frequentlyc complain" argument.

You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To view this discussion on the web visit
Reply all
Reply to author
0 new messages