Support » Plugin: WordPress Social Login » Twitter keeps generating new users

Viewing 14 replies - 1 through 14 (of 14 total)
  • woops! i just posted this fault as well, happening to me also

    My issue is that after registering with Twitter, I’m unable to log back in because it says email address is already in use.

    Any idea?

    Same problem here! Did you even find a solution for this?

    This might be helpfull:

    If a user logs in using Twitter and logs out again, he will be able to login to the same account with Twitter again (same username) and access the same account that was created during first login.

    However, when the profile is edited or even saved without editing anything after the first login, the user will get a new username after logging in the second time and every next time (_#, i.e. _1,_2,_3… will be added to the username then).

    It’s only Twitter related, all other social media logins work properly.

    Hope this helps to find a solution to this problem.

    I’m affraid I did not yet find a solution to this problem. Was hoping to have gotten a response for the creator but no luck so far.

    Joe

    (@marketingd)

    @emielm I don’t remember exactly. I got it working for some time but in fact now I am getting a different error as specified below. It must be a plugin conflict.


    Fatal error: Cannot redeclare class OAuthSignatureMethod_HMAC_SHA1 in /…/wp-content/plugins/wordpress-social-login/hybridauth/Hybrid/thirdparty/OAuth/OAuth.php on line 138

    Then what did you do to get it working (temporarily) Joe? I really wouldn’t know how to solve this.

    Let’s just hope Miled will jump in and fix this soon!

    Try removing the user and redoing it again. Also try deactivating and activating plugin. After I did this, it all worked ok.

    That didn’t help for me wrify. I did discover this btw:
    Saving the profile is not causing any problems, saving social author bio (plugin) form is causing the problem. Only with twitter, but if this form is not edited or saved, the user can login over and over again into the same account through twitter.

    Any help is still welcome 🙂

    @emielm I do not use that plugin. However, I do use Custom Advanced Fields to add a field to the user profile. Perhaps the problem is with saving meta data for users.

    I haven’t tested it thoroughly, but there seems to be a workaround fix for this problem. Here is what I did:

    1. Deleted all registered twitter users
    2. Removed the following line from the file wsl.authentication.php located in wordpress-social-login/includes/services:

    Remove or comment out line 841

    'description' => $hybridauth_user_profile->description,

    The social networks user descriptions will not be passed on to the new wordpress profiles, but that should be a relatively minor trade off for most.

    Hope this works for you as well

    @mr Press: This doesn’t make any difference on my sites.

    What’s also weird:

    When a user logs in using FB, and another time later on with G+, he always gets logged in with his single one user account, provided the e-mail address is the same on these social networks. When logging in with Twitter (including bouncer module) however, when the same e-mail address is entered, there’s an error notice that this e-mail address is already in use by another account. How will it ever be possible then (with or without bouncer) to link logins through Twitter to an existing account, like it is done with FB,LI,G+ etc.?

    I really hope Miled can explain some more about these issues.

    I did some more testing.

    What I found out is that also Facebook login and presumably all other social networks will generate a new user if the first user changed his email address in the profile page in wp admin area.

    So it’s required to disable users from changing e-mail after auto registration, otherwise the existing user will not be recognised on the next login and a new user will be created. The same seems to be the case with the bio/description field value.

    I don’t use the Theme my login plugin, but there may be a setting in the plugin to prevent users from editing email and bio. Otherwise those fields can be hidden by means of jquery and stop people from seeing them and thereby changing them.

    When logging in with Twitter (including bouncer module) however, when the same e-mail address is entered, there’s an error notice that this e-mail address is already in use by another account. How will it ever be possible then (with or without bouncer) to link logins through Twitter to an existing account, like it is done with FB,LI,G+ etc.?

    By not requiring users to enter e-mail manually on registration. I haven’t tested to require e-mail and I don’t see a need for it anyway. The registration works as it should without doing it. So I would advice you to disable the requirement for e-mail, delete the users again and try from the beginning and to prevent users from changing e-mail address or Bio description (About me). Name change works fine as far as I can tell. If this doesn’t work for you, try to uninstall all other plugins you are using one by one to make sure one of them is not the cause.

    As for the bouncer I can’t tell, since I am not using it.

    i have same issue… bouncer says email already exists and that is the end of that… switch bouncer off and user registers as a new user, which is rediculous.

    Nextend Twitter Connect, i checked does not have this issue, and the logic is rather simple to fix…..

    > user enters email address
    > Bouncer checks for email address, FINDS it
    > this found user account is now “linked” with the session/user logging in

    All that is missing is to add a step, that ACTS after user email is located…

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Twitter keeps generating new users’ is closed to new replies.