# Github Security Key (FIDO2 WebAuthn) Fails on Windows 10

**URL:** https://onlykey.discourse.group/t/github-security-key-fido2-webauthn-fails-on-windows-10/143
**Category:** Two Factor Authentication
**Created:** [December 11, 2020, 2:20pm UTC](https://onlykey.discourse.group/t/github-security-key-fido2-webauthn-fails-on-windows-10/143 "2020-12-11T14:20:41Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![Scorbie](https://avatars.discourse-cdn.com/v4/letter/s/e19b73/32.png) [@Scorbie](https://onlykey.discourse.group/u/Scorbie)
#### Post date: [December 11, 2020, 2:20pm UTC](https://onlykey.discourse.group/t/github-security-key-fido2-webauthn-fails-on-windows-10/143/1 "2020-12-11T14:20:41Z")

</div>

Github allows one to set a 2FA security key on login, via WebAuthn according to [the docs](https://docs.github.com/en/free-pro-team@latest/github/authenticating-to-github/configuring-two-factor-authentication#configuring-two-factor-authentication-using-a-security-key).  
However this functionality does not work with OnlyKey;

OS: Windows 10 Education  
Version: 10.0.19042 Build 19042  
OnlyKey Firmware: Upgraded to v2.1.0 (the version on the “upgrade” page, retrieved today)

Here’s what happens:

1. Github identifies the key.  
(At least it doesn’t launch any error messages that you get when you don’t have a key)
2. Windows prompts me to touch the key.
3. The OnlyKey LED flashes blue.
4. I push any button on the OnlyKey.
5. Github says: “This device cannot be recognized.”

I did enable 2FA for Github via SMS.  
I am glad to provide more info.  
Thanks in advance.

---

<div class="post-metadata">

### Author: ![t11](https://avatars.discourse-cdn.com/v4/letter/t/8e7dd6/32.png) [@t11](https://onlykey.discourse.group/u/t11)
#### Post date: [December 14, 2020, 3:16pm UTC](https://onlykey.discourse.group/t/github-security-key-fido2-webauthn-fails-on-windows-10/143/2 "2020-12-14T15:16:52Z")

</div>

@Scorbie Have you been able to register any other FIDO2 security keys? We have not had any other reports of issues it may be a browser issue.

---

<div class="post-metadata">

### Author: ![My1](https://avatars.discourse-cdn.com/v4/letter/m/57b2e6/32.png) [@My1](https://onlykey.discourse.group/u/My1)
#### Post date: [December 16, 2020, 2:34am UTC](https://onlykey.discourse.group/t/github-security-key-fido2-webauthn-fails-on-windows-10/143/3 "2020-12-16T02:34:03Z")

</div>

you happen to have screenshots?

---

<div class="post-metadata">

### Author: ![Scorbie](https://avatars.discourse-cdn.com/v4/letter/s/e19b73/32.png) [@Scorbie](https://onlykey.discourse.group/u/Scorbie)
#### Post date: [December 16, 2020, 12:25pm UTC](https://onlykey.discourse.group/t/github-security-key-fido2-webauthn-fails-on-windows-10/143/4 "2020-12-16T12:25:45Z")

</div>

@t11  
Oops, you were right; It didn’t work on Firefox but works on MS Edge.  
(This was my first FIDO2 security key, by the way.)

@My1 In case of future reference:

 ![image](https://global.discourse-cdn.com/free1/uploads/onlykey/original/1X/f310ce6f5742dd93615588cf29a133f65c172570.png)

Thank you all for the help!

---

<div class="post-metadata">

### Author: ![My1](https://avatars.discourse-cdn.com/v4/letter/m/57b2e6/32.png) [@My1](https://onlykey.discourse.group/u/My1)
#### Post date: [December 16, 2020, 1:56pm UTC](https://onlykey.discourse.group/t/github-security-key-fido2-webauthn-fails-on-windows-10/143/5 "2020-12-16T13:56:03Z")

</div>

okay that’s an interesting error to say the least. I think I need to try some stuff with this and dig a little because this really makes me curious.

---

<div class="post-metadata">

### Author: ![denis.beurive](https://avatars.discourse-cdn.com/v4/letter/d/ba9def/32.png) [@denis.beurive](https://onlykey.discourse.group/u/denis.beurive)
#### Post date: [April 4, 2021, 6:00pm UTC](https://onlykey.discourse.group/t/github-security-key-fido2-webauthn-fails-on-windows-10/143/6 "2021-04-04T18:00:36Z")

</div>

Hello,

I have the same issue with FireFox. **However, its works fine with Edge**.

- **OnlyKey Firmware** : v2.1.0-prodc
- **OS** : Windows 10
- **Browser** : FireFox 87.0 (64 bits)

However, GitHub does not show any error message. The image below shows the error with FireFox 87.0 on Windows 10. _Please note that it works fine with Edge_.

 ![Error with FireFox](https://global.discourse-cdn.com/free1/uploads/onlykey/original/1X/92995caed7659cf09f90f7afd84fc049d8d2c9dc.png)

Note: I tried using Ubuntu `20.10` with FireFox (version `87.0` - 64 bits) and Chrome (version `89.0.4389.114` - 64 bits). **The OnlyKey does not even blink blue** (thus, the operation fails).

Regards,

Denis

---

<div class="post-metadata">

### Author: ![denis.beurive](https://avatars.discourse-cdn.com/v4/letter/d/ba9def/32.png) [@denis.beurive](https://onlykey.discourse.group/u/denis.beurive)
#### Post date: [April 5, 2021, 8:14pm UTC](https://onlykey.discourse.group/t/github-security-key-fido2-webauthn-fails-on-windows-10/143/7 "2021-04-05T20:14:09Z")

</div>

**UPDATE**

Hello,

I just used the OnlyKey under Windows 10 / FireFox 87.0… and it works.

However, the use case is different from what I mentioned earlier:

In my previous post, I mentioned that I could not set up the OnlyKey as a security key for GitHub.

Thus, I’ve set up the security key using Edge.

Rigth now I was logged on my GitHub account (using Firefox), and I deleted a repository. GitHub asked me for confirmation, and then asked me to touch my security key. I touched it, and it worked out OK.

Therefore the problem seems to happen only when you try to set “declare” the OnlyKey as a security key. But, once declared, it’s OK.

Regards,

Denis
