Open mrpatrickpilch opened 1 year ago
I'm leveraging the feature introduced in #636 and enjoying it!
But I noticed the documentation has the following example for the pattern validator:
validator { name = "pattern" config = { pattern = "^[a-z]+$" error_message = "Nope" } }
But the config should state error-message instead. See https://github.com/keycloak/keycloak/blob/20.0.1/server-spi-private/src/main/java/org/keycloak/validate/validators/PatternValidator.java#L49
error-message
@mrpatrickpilch Is the pattern in Java language? I could not find any place that tell me in what language I am allowed to enter this regex for keycloak when i am using Terraform
I'm leveraging the feature introduced in #636 and enjoying it!
But I noticed the documentation has the following example for the pattern validator:
But the config should state
error-message
instead. See https://github.com/keycloak/keycloak/blob/20.0.1/server-spi-private/src/main/java/org/keycloak/validate/validators/PatternValidator.java#L49