← Back to release summary

Web Authentication API: PublicKeyCredential’s getClientCapabilities() method

Category
Miscellaneous
Type
Chromium catches up
Status
Enabled by default (Chrome 133)
Intent stage
None

Summary

getClientCapabilities() method allows to determine which WebAuthn features are supported by the user's client. The method returns a list of supported capabilities, allowing developers to tailor authentication experiences and workflows based on the client's specific functionality.

Motivation

Different clients and authenticators offer varying levels of support for WebAuthn features. This disparity can lead to a fragmented user experience, where some users might encounter errors or be unable to utilize certain authentication options. Providing a way for developers to determine client capabilities enables them to create more robust authentication flows that adapt to these variations.

Standards & signals

View on chromestatus.com