Hide Forgot
Description of problem: When BC is authorized to SSO and there is an user eg. bamAnalyst (loginname with uppercase and lowercase letters) it is displayed as lowercase. Version-Release number of selected component (if applicable): BPMS 6.3.0.DR2 How reproducible: Always Steps to Reproduce: 1. Set SSO as authorization provider with user with uppercase letters 2. Set preferred_name to display instead UID 3. go to BC and check the username Actual results: Lowercase username Expected results: Appropriate username Additional info: It is not know if it is affected functionality of BC, rest, etc.
Created attachment 1134557 [details] bamAnalyst user displayed as bamanalyst
Is this a limitation from KeyCloak we can't work around?
KeyCloak 1.9 (RH SSO 7.0.0.ER7) converts users to lowercase and roles are case sensitive.
It seems a limitation from the Keycloak and its adapter. Comments from the KC team "I'm afraid this is by design and we can't change it in Keycloak. In Keycloak username is not case sensitive, further we convert to lowercase to make sure the username is consistent. If we had case insensitive match of username, but didn't lowercase you could end up either "username" or "Username" in the token and both referring to the same user." What should we do at this point?