QQ PHP third-party Login
Title, your site is logged in with a username and password, and the user name is unique and non-modifiable.
Before the form of my website is, through Weibo or QQ, after authorization, jump to choose to bind an existing account or register a new account page, require users to manually enter the user name, so that you can determine the uniqueness of the user name. The result is:
Sina Weibo audit through, QQ because "after login display user's QQ avatar and user name, and do not register binding also can enter the site" of this request, audit did not pass, now the problem is, by clicking on QQ Login, if directly the user's QQ nickname as my site's user name, will create a duplicate user name, if the generation of random non-duplicate user name, because the site does not allow the modification of user names, the user experience may not feel good, do not know that there is no experience in this aspect of the great God to provide the next solution. Thank you, everyone.
Reply to discussion (solution)
So if you're setting a field in the user table to distinguish between duplicate usernames, yes.