netzbegruenung / keycloak-mfa-plugins

Keycloak Authentication Provider implementation to get a 2nd-factor authentication with a OTP/code/token send via SMS
Apache License 2.0
42 stars 9 forks source link

Fix Keycloak errors caused by SMS 2FA #55

Closed svenseeberg closed 1 year ago

svenseeberg commented 1 year ago

With this plugin enabled, we experience an increased rate of Keycloak errors. We need to investigate if this is caused by Keycloak itself or this plugin.

There are 2 errors that seem to be related to activating the "Force 2FA" function:

The error rate is strongly increasing with the feature activated. But it seems there are other causes as well. We should try to answer the following questions:

svenseeberg commented 1 year ago

I'll keep the ticket open until we've confirmed that this fixes the issue.

One addition: I'm quite confident that our data now confirms that the error rate goes up with the Force 2FA function increases the error rate. On days we activate the function, we have about 4 times more errors than on days without. We toggled this for 3 times and it consistently changes the error rate.