I use the 22.0.1 Keycloak version and would like to know if there is any way to insert a user with a letter pattern other than lowercase.
Keycloak does only support lower case usernames.
1 Like
As Niko said, in “normal” circumstances, it is not possible.
If you curios why that is, check out the implementation of the JPAProvider. It is searching lowercase, so that will clash if you would safe users with case sensitive Usernames.
The only way this worked in the past, if you have implemented your own UserFederation and alter some AuthFlows. Caching has to be disabled, then you can have your Username case sensitive.
1 Like