@EGreg did you find a solution for this yet?
I’m facing the same issue with a self-hosted discourse.
SSO login doesn’t seem to override the username for existing accounts that existed before implementing SSO, even though the ‘override username’ setting is enabled.