What OS/Browser did you find that did not work? We have tested in all major OS/Browser combinations but there are still some issues where FIDO2 does not always work.
Chrome and Edge
I suspect that the cause of the problem is not the browser, but OnlyKey FIDO2 seems to have some problems with the Attestation Certificate.
When I tried WebAuthn on Yubico demo website, it has Attestation Certificate related errors (in the “technical details”) of OnlyKey.
Scroll down to see Attestation Certificate part, for YubiKey I use, there is one, but for OnlyKey, it says " There was a problem parsing the attestation certificate, please check the console logs". For Azure Active Directory, the default option is “require Attestation”. In this case, OnlyKey cannot be registered. User have to contact their directory administrator to disable Attestation, which is sometimes difficult to do.
@Extrawdw it always says there is a problem with all keys I have tested except Yubikeys, I think they are looking for a Yubico cert. @tfluthy Are you having issues on Linux or a different OS?
If the Azure AD Admin turn off the “Requite Attestation” in Azure AD login options, then OnlyKey will work fine for Office 365 accounts. However no way for personal Microsoft Account.
What happens with my systems, if you register on firefox, in may or may not work in chrome, but the first time it fails in chrome, the security key vanishes out of MS account security portal
Currently Azure AD only supports security keys from a handful of providers and even that seems to sometimes not work with ‘Enforce Attestation’ enabled.
For the 2nd issue with Chrome and Microsoft account, this is a legitimate issue caused by new version of Chrome. A fix will be included in the next OnlyKey firmware update.
You can use these steps while trouble shooting your error. Don’t use or avoid private/Incognito Mode. Secondly which browser you are using, i would prefer you to switch to firfox, But if you aren’t ready to switch then must clear caches and other stuff. Regarding ONLYKEY APP verify attestation settings, ensure your OnlyKey is running the latest firmware or not. Unlock it by using the right PIN.
I ran into the same question on Cannot register to Microsoft Account while testing cannot. Checking the active state with verify_state = true before running cannot and register keeps it consistent across restarts without needing manual cleanup.
For a personal Microsoft account there’s no tenant admin to turn off “Enforce Attestation,” so the Azure AD workaround doesn’t apply. The practical options are the firmware update t11 mentioned for the Chrome issue and trying Firefox, which tfluthy reports is reliable. If Microsoft still requires attestation on the personal-account path, OnlyKey may not be accepted there until firmware supports it.