Replies: 1 comment 3 replies
-
You are free to call whichever method you like. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Regarding this line:
https://github.com/dasniko/keycloak-2fa-sms-authenticator/blob/main/src/main/java/dasniko/keycloak/authenticator/SmsAuthenticator.java#L54C12-L54C28
When calling failureChallenge in case of failure in sending sms to to the user, and if there's an issue in the SMS gateway, the user account will be locked after a number of attempts (without the user fault, it is just a system fault that affects the user)
As the documentation says about failureChallenge: ( https://www.keycloak.org/docs-api/21.0.0/javadocs/org/keycloak/authentication/AbstractAuthenticationFlowContext.html#failureChallenge(org.keycloak.authentication.AuthenticationFlowError,javax.ws.rs.core.Response) )
What do you think about this? should we call another method that sends an error to the user but does not count the attempt in the brute force attach detection?
Beta Was this translation helpful? Give feedback.
All reactions