I want to achieve a truly login-less (not password-less) authentication using Keycloak and Windows Hello (or a supported security key). This means, that I don't want to type in my username nor password. (Keycloak should extract the username automatically from my security key/Windows Hello)
As far as I understand the documentation 0 correctly, that should work. Not every security key is supported (because it must be able to store the user credentials on the key itself), but Windows Hello should be supported, see 1.
In order to make WebAuthn working with Windows Hello, I added the Signature Algorithm RS256, like stated in 2:
- Authentication -> WebAuthn Passwordless Policy -> Signature Algorithms -> ES256 & RS256 (selecting both using the ctr-key)
Additionally I set user verification=yes and resident key=yes, 3:
- Authentication -> WebAuthn Passwordless Policy -> Require Resident Key -> Yes
- Authentication -> WebAuthn Passwordless Policy -> User Verification Requirement -> required
Like in 3, my Authentication Flow now only consists of a single line: WebAuthn Passwordless Authenticator, required.
I already registered a user (before changing the authentication flow) with username, password and security key.
But when I change the authentication flow to my login-less one, I get this error message, when clicking on type-in: We are sorry... Invalid username or password.
Can anyone help me?
Additionally, is there a way to register a new user without a password, i.e. only security key? Currently, after switching to the login-less authentication flow, I cannot register a new user anymore (because I always get the error message).
I also asked the same question on Keycloak Github