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개의 좋아요

Bumping this because it’s still an issue.

1개의 좋아요

@sam @eviltrout @codinghorror Any ideas?

1개의 좋아요

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

https://github.com/discourse/discourse/commit/3c3d2051807b8db5726e18238384e435aa9191b7

Here we have a test case for this:

2개의 좋아요