I recently started a site and I’ve encountered the issue described below.
Issue
Username ‘賢治’ always automatically changes to ‘賢治1’ whenever I send my single sign on payload.
Strangely, the name is ok with being ‘賢治’, just not the username. This makes me think it’s some sort of uniqueness issue with the username… but I checked the rails console and there is no user with the username ‘賢治’. Is there some other place I should check for the uniqueness constraint? Is it a special chars issue?
Context
I only recently started my discourse site and I originally started it without the ‘unicode usernames’ checked. However, after updating the settings I went through and updated the affected users. The other user with special chars in their name did not get a number appended to their username.
Glad that worked! If you think you may have users using a single unicode character for a username, then you probably need to change that setting to 1; otherwise they won’t be able to sign-up unless they use 2 characters.