Use Upcase and Lowcase for UserName and Email fields in create users

I want to create user with upcase and lowcase. This is my docker-compose file.

version: '3'
services:
  keycloak:
    image: quay.io/keycloak/keycloak:21.1.2
    environment:
      - KEYCLOAK_ADMIN=admin
      - KEYCLOAK_ADMIN_PASSWORD=admin
      - KC_SPI_USER_CACHE_DEFAULT_ENABLED=false
    ports:
      - 8088:8080
      - 8443:8443
    volumes:
      - ./theme:/opt/keycloak/themes/demo
    command: start-dev

Case-sensitive usernames and emails are currently not supported.

1 Like

This is truth? I was hoping that it would work with case-sensitive usernames and email.

I have seen this java - How to access the original case sensitive username input in custom user storage provider of keycloak? - Stack Overflow

However, it did not work with me in the configuration cache-ispn.xml file.