Web authentication easy public key accessBaseline · Widely available
The getAuthenticatorData(), getPublicKey(), and getPublicKeyAlgorithm() methods of AuthenticatorAttestationResponse access credential data inside attestationObject without the need to parse it.
Supported in all major browsers for at least 30 months — safe to use without fallbacks. Baseline since Oct 24, 2023. Widely available since Apr 24, 2026.
Browser support
DesktopChrome
1–84Not supported
85+Supportedsince Aug 25, 2020
Current: 155Edge
12–84Not supported
85+Supportedsince Aug 27, 2020
Current: 154Firefox
1–118Not supported
119+Supportedsince Oct 24, 2023
Current: 157Safari
1–15.6Not supported
16+Supportedsince Sep 12, 2022
Current: 27MobileChrome Android
18–84Not supported
85+Supportedsince Aug 25, 2020
Current: 155Firefox Android
4–118Not supported
119+Supportedsince Oct 24, 2023
Current: 157Safari iOS
1–15.6Not supported
16+Supportedsince Sep 12, 2022
Current: 27How to use
This feature is Baseline widely available — use it freely, no fallback needed.
Example
Full syntax and examples are on MDN: getAuthenticatorData.
Feature detection
JS · check before using
if ("AuthenticatorAttestationResponse" in globalThis && "getPublicKey" in AuthenticatorAttestationResponse.prototype) {
// AuthenticatorAttestationResponse.getPublicKey is available
}Documentation (MDN)
Specification
Sub-features
Support for each part of the feature (6). The overall table above shows when the whole feature works.
| Sub-feature | Chrome | Edge | Firefox | Safari | Chrome Android | Firefox Android | Safari iOS |
|---|---|---|---|---|---|---|---|
| AuthenticatorAttestationResponse.getAuthenticatorData | 85 | 85 | 119 | 16 | 85 | 119 | 16 |
| AuthenticatorAttestationResponse.getPublicKey | 85 | 85 | 119 | 16 | 85 | 119 | 16 |
| AuthenticatorAttestationResponse.getPublicKey.algorithm_eddsa | 85 | 85 | 119 | ✕ | 85 | 119 | ✕ |
| AuthenticatorAttestationResponse.getPublicKey.algorithm_es256 | 85 | 85 | 119 | 16 | 85 | 119 | 16 |
| AuthenticatorAttestationResponse.getPublicKey.algorithm_rs256 | 85 | 85 | 119 | ✕ | 85 | 119 | ✕ |
| AuthenticatorAttestationResponse.getPublicKeyAlgorithm | 85 | 85 | 119 | 16 | 85 | 119 | 16 |