Repository navigation
Additional authenticator "Condition - credentials configured" #21156
danielFesenmeyer
started this conversation in
Ideas
Replies: 1 comment
|
Hi @danielFesenmeyer |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
We had to implement a quite complex authentication flow with 2FA, based on OTP and recovery codes. We needed to support conditions such as "OTP is configured" but "Recovery codes are not configured".
In this context, we tried to use the Keycloak builtin authenticator "Condition - user configured", which checks whether the next authenticators are configured for the user (for example, when the next authenticator is OTP form, it checks whether OTP is configured). That's fine for simple conditions, but did not work out well for conditions such as "OTP is configured" but "Recovery codes are not configured".
That's why we implemented a custom authenticator "Condition - credentials configured", which can be configured as follows:
Is someone interested in this authenticator?
We would be happy to contribute it.
All reactions