I have login/signup using social providers. There are cases when users can have the same usernames. In this scenario, I would like to generate a unique username eg. “myusername” -> “myusername1” (later user can update his username). It would prevent failing auth with response 404 because of username duplicate.
Any ideas on how to do it?