Clashing usernames on different 3rd party providers

Absolutely not simple and thank you for the question. We do know of the conflict, and it’s a difficult one to manage as we need something to be unique. We recently changed the Admin panel itself to only set the email as unique but have not made that change to the users-permissions plugin.

This file is most likely the one you are going to need to modify, and it largely depends on what you are trying to do:

https://github.com/strapi/strapi/blob/master/packages/strapi-plugin-users-permissions/controllers/User.js