WordPress.org

Ready to get started?Download WordPress

Forums

WordPress Social Login
Twitter keeps generating new users (15 posts)

  1. denniskoster
    Member
    Posted 1 year ago #

    Whenever I save a user in the dashboard (I don't even have to edit anything), that was generated through Twitter authentication, next time that user will try to log in with his Twitter credentials, the plugin will make a new user. See http://buildnet.nl/wp-social-bug.jpg for a screenshot.

    http://wordpress.org/plugins/wordpress-social-login/

  2. glosshog
    Member
    Posted 11 months ago #

    woops! i just posted this fault as well, happening to me also

  3. wrify
    Member
    Posted 10 months ago #

    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?

  4. emielm
    Member
    Posted 10 months ago #

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

  5. emielm
    Member
    Posted 10 months ago #

    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.

  6. denniskoster
    Member
    Posted 10 months ago #

    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.

  7. Joe
    Member
    Posted 10 months ago #

    @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

  8. emielm
    Member
    Posted 10 months ago #

    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!

  9. wrify
    Member
    Posted 10 months ago #

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

  10. emielm
    Member
    Posted 10 months ago #

    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 :)

  11. denniskoster
    Member
    Posted 10 months ago #

    @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.

  12. Mr Press
    Member
    Posted 10 months ago #

    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

  13. emielm
    Member
    Posted 9 months ago #

    @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.

  14. Mr Press
    Member
    Posted 9 months ago #

    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.

  15. maddogmcewan
    Member
    Posted 8 months ago #

    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...

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic