Our team’s Discourse forum uses SSO. Sometimes, users have aliased accounts that read as
firstname.lastname@example.org, and so in Discourse the username appears as
It’s a bit awkward to have so many usernames that are inconsistent with these aliases (we have a lot of different ones), so we were trying to figure out if there’s a way to alter/transform these usernames before or when they’re created in Discourse.
For example, since we do all our aliases with the
+ symbol, if there’s a way to truncate everyone’s username from the
+ onward, then that would allow us to normalize everyone’s username to a
Is this something that’s possible? If so, how would we go about doing it?