authentik icon indicating copy to clipboard operation
authentik copied to clipboard

If multiple hardware keys are added, all are shown durign authentication flow

Open schemen opened this issue 5 years ago • 5 comments

Describe the bug As title.

Once you add multiple keys (For example yubikey) there are multiple identical options for each key. It is also not clear which prompt is for which key.

image

To Reproduce Steps to reproduce the behavior:

  1. Add more than one hardware key
  2. Enable multiple factor in you flow
  3. See behavior

Expected behavior I expect to have a single authenticator prompt and authentik figuring out which key I used.

Version and Deployment (please complete the following information):

  • authentik version: 2021.6.3
  • Deployment: Kubernetes

schemen avatar Jun 30 '21 20:06 schemen

Still an issue in 2021.7?

GeorgeGedox avatar Aug 16 '21 08:08 GeorgeGedox

Issue present on 2021.8.1-rc1 and 2021.7 for me.

My issue is that I end up with two authenticators, one will work with the newer key but neither work for the key enrolled first. I get "Assertion failed." in the JSON response when using the original key on either authenticator on the login page.

If I delete the newly added key, the old one starts working again no problem.

BadAtIrcBots avatar Aug 24 '21 07:08 BadAtIrcBots

Interesting, which keys are you using?

BeryJu avatar Aug 24 '21 09:08 BeryJu

Interesting, which keys are you using?

YubiKey 5 NFC

BadAtIrcBots avatar Aug 24 '21 09:08 BadAtIrcBots

@BadAtIrcBots the bug you ran into is fixed with this commit as well

BeryJu avatar Sep 01 '21 17:09 BeryJu