There's no list of valid flow values, and the error isn't very helpful:
kc-oidc config set --flow=test --context=test
java.lang.IllegalArgumentException: No enum constant org.keycloak.cli.oidc.oidc.OpenIDFlow.TEST
at java.base@17.0.7/java.lang.Enum.valueOf(Enum.java:157)
at org.keycloak.cli.oidc.oidc.OpenIDFlow.valueOf(OpenIDFlow.java:6)
at org.keycloak.cli.oidc.commands.config.AbstractConfigUpdaterCommandAbstract.update(AbstractConfigUpdaterCommandAbstract.java:16)
at org.keycloak.cli.oidc.commands.config.ConfigSetCommandAbstract.run(ConfigSetCommandAbstract.java:19)
at picocli.CommandLine.executeUserObject(CommandLine.java:2026)
at picocli.CommandLine.access$1500(CommandLine.java:148)
at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2461)
at picocli.CommandLine$RunLast.handle(CommandLine.java:2453)
at picocli.CommandLine$RunLast.handle(CommandLine.java:2415)
at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2273)
at picocli.CommandLine$RunLast.execute(CommandLine.java:2417)
at io.quarkus.picocli.runtime.PicocliRunner$EventExecutionStrategy.execute(PicocliRunner.java:26)
at picocli.CommandLine.execute(CommandLine.java:2170)
at io.quarkus.picocli.runtime.PicocliRunner.run(PicocliRunner.java:40)
at io.quarkus.runtime.ApplicationLifecycleManager.run(ApplicationLifecycleManager.java:132)
at io.quarkus.runtime.Quarkus.run(Quarkus.java:71)
at io.quarkus.runtime.Quarkus.run(Quarkus.java:44)
at io.quarkus.runner.GeneratedMain.main(Unknown Source)
There's no list of valid flow values, and the error isn't very helpful: