Hey there Keycloak folks, I just spent about a week trying to understand something that may just be due to a language barrier, but also, could have a way better default example.
In the built-in browser flow, there’s a condition called “Condition - User Configured”
In my brain, I think, “Oh! That’s a place where the user (me) can configure a condition.” I click into the gear and see three blank options. But they’re only an Alias, and a couple of Authenticator References. Nowhere is there a place for me to actually set a logical, boolean condition.
Brains are hard. I was dead set on the fact that somewhere, maybe by writing javascript, or setting up weird Authenticator References elsewhere in keycloak, could I make this a conditional to see if, for example, our username matched a regular expression.
In reading the manual, I found gems like this:
Which just roadblock the brain trying to comprehend how this all is supposed to work, and sending me down the rabbit hole of “wait, do I need to learn Javascript now?”. “Do I need to read this whole RFC now?”
In the end: none of that would have helped. It turns out that the conditional could have been named better, and my initial read of “user-configured” blocked me from reading this as:
“Conditional - Has User Been Configured?”
(Which is what it actually means)
I don’t know that I need any feedback on this. It’s an already solved problem, and it doesn’t feel worth pushing an issue to rename the conditional, but I’m putting a post here in case anyone else hits the same issue. (Obligatory XKCD reference: xkcd: Wisdom of the Ancients)



