To give a bit of context, I'm managing a Dataiku platform with a large number of end users. I just came off the phone with a user who had trouble logging into Dataiku. It turned out that whenever he used the browser feature to automatically fill in your credentials (think LastPass), it would fill in his username with extra spaces. This obviously didn't match his login name without trailing whitespaces.
Whenever I try to create a user with extra spaces at the end of the login name, these get trimmed off automatically. A user called "Test " will have the login name "Test" after user creation. However, these extra spaces do not get trimmed off at the login screen.
My product idea, which is almost more like a bugfix: Automatically trim off trailing (and leading / before the username) whitespaces from the username at the login screen.