I have a use case where user should be disabled when he enter wrong password 5 consecutive times. I cant find any keycloak password policy to disable user when he enter wrong password 5 consecutive times.
I have a use case where user should be disabled when he enter wrong password 5 consecutive times. I cant find any keycloak password policy to disable user when he enter wrong password 5 consecutive times.
To enable Consecutive Failed Login Defence you need to enable "Max Login Failures" from Brute Force Detection. Steps:
Go to Your Realm > Realm Settings > Security Defenses > Brute Force Detection and enable it. Inside the Brute Force Detection page you will find many options, the ones you are interested in are "Max Login Failures" and "Permanent Lockout"