Sync User Record with Username Case Changes

Hello,

I’m having trouble getting SSO records to sync properly when the user changes only the case of their username. If the target user is named Sam, and a sync record comes in changing the username to SaM (using Sam’s external ID and email), Discourse seems to be renaming the account to SaM1. Any ideas?

Also, in the SSO section of the user in the admin panel, it shows the correct, new username.

Thanks guys

1 Like

Bumping this because it’s still an issue.

1 Like

@sam @eviltrout @codinghorror Any ideas?

1 Like

I’m closing this, this was fixed several years ago:

Here we have a test case for this:

2 Likes