diff --git a/server-spi/src/main/java/org/keycloak/models/OAuth2DeviceConfig.java b/server-spi/src/main/java/org/keycloak/models/OAuth2DeviceConfig.java index 1b51c08928..8ea25554db 100644 --- a/server-spi/src/main/java/org/keycloak/models/OAuth2DeviceConfig.java +++ b/server-spi/src/main/java/org/keycloak/models/OAuth2DeviceConfig.java @@ -47,7 +47,7 @@ public final class OAuth2DeviceConfig implements Serializable { private transient Supplier realmForWrite; private int lifespan = DEFAULT_OAUTH2_DEVICE_CODE_LIFESPAN; - private int poolingInterval = DEFAULT_OAUTH2_DEVICE_CODE_LIFESPAN; + private int poolingInterval = DEFAULT_OAUTH2_DEVICE_POLLING_INTERVAL; public OAuth2DeviceConfig(RealmModel realm) { this.realm = () -> realm; @@ -135,4 +135,4 @@ public final class OAuth2DeviceConfig implements Serializable { realm.setAttribute(name, value); } } -} \ No newline at end of file +}