I have the following problem: many of my users have multiple Google accounts. They have registered on my site thanks to OA Social Login with one of these accounts, so they have a given identity on my site, with appropriate permissions, etc.
The problem occurs when they return to my site days or weeks later: often, those (actually many of them) who have multiple Google accounts are trying to re-log on my site wile being logged in with Google with another of their Google accounts. So, they end up in being re-registered on my site with another identity, which lead to many problems:
- They appear on my site with multiple identities, with different histories and permissions. At best, I have to manually clean up the user base (they publicly appear in the official member directory). At worst, since they can post contents before I am able to do anything, we must live with several identities for the same person, which is a real mess in the community.
- When they realize they have been wrongly re-registered and logged in, they complain to me regarding the 'poor and deficient user interface for social login' (dixit some of them).
- Sometimes they don't even notice that they have re-created another identity which further lead to many problems and frustrations, for them and for me as the admin.
Could you please help me in solving this issue? I am aware of OA Social Login hooks such as 'oa_social_login_action_before_user_insert' but I don't know how to use it to warn the users that they are about to register with a new account and allow them either to confirm that this is what they want, or backtrack and switch their Google account before re-logging in on my site.
Thanks in advance for your help, I have spent many hours on this without any result yet!