-
Notifications
You must be signed in to change notification settings - Fork 180
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add feature detection blurb... #1208
Comments
In
Is that still the "recommended" way to detect support for security key operations? |
technically, according to credman's section 7.1. Website Authors, one only needs to check for |
Yeah, we had some issues with https://github.com/brave/brave-ios when we were trying to detect features we thought were needed for WebAuthn compat. Testing the recommended value + the functions that we'll need to call seemed like the best way to check that things will work as expected. |
i think this can be addressed in a milestone later than wd-03 |
being addressed by #1923 |
..pointing back to credman's section 7.1. Website Authors, which briefly & explicitly explains that trying to use
if (!navigator.credentials) ...
is suboptimal for feature detection, ratherif (!window.PublicKeyCredential) ...
ought be used. [the examples in webauthn already use the latter as feature detection, so they are already good]The text was updated successfully, but these errors were encountered: