We have an SSO setup that tries to create users with usernames matching their canonical (external) account. I recently noticed that this fails for usernames with a trailing underscore.
What’s the recommended solution for this? Should we be normalizing usernames in our SSO endpoint? Or is there some way for Discourse to normalize the given username? Thanks.