From 3a2bf0c04bcde185e497aaa32d0bb7ab7520cf4a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Barto=C5=A1?= Date: Fri, 10 Dec 2021 17:57:17 +0100 Subject: [PATCH] WebAuthnAuthenticator add timeout property --- .../authenticators/browser/WebAuthnAuthenticator.java | 1 + 1 file changed, 1 insertion(+) diff --git a/services/src/main/java/org/keycloak/authentication/authenticators/browser/WebAuthnAuthenticator.java b/services/src/main/java/org/keycloak/authentication/authenticators/browser/WebAuthnAuthenticator.java index e9ff73cfcd..a7512c0733 100644 --- a/services/src/main/java/org/keycloak/authentication/authenticators/browser/WebAuthnAuthenticator.java +++ b/services/src/main/java/org/keycloak/authentication/authenticators/browser/WebAuthnAuthenticator.java @@ -82,6 +82,7 @@ public class WebAuthnAuthenticator implements Authenticator, CredentialValidator WebAuthnPolicy policy = getWebAuthnPolicy(context); String rpId = getRpID(context); form.setAttribute(WebAuthnConstants.RP_ID, rpId); + form.setAttribute(WebAuthnConstants.CREATE_TIMEOUT, policy.getCreateTimeout()); UserModel user = context.getUser(); boolean isUserIdentified = false;