• Hi there,

    Firstly, thank you on creating a great plugin. I really appreciate the time and effort you put into this.

    My issue is this…
    If a user already has an account on my site but then chooses to log in via the Facebook link, the plugin creates a new account for them with a random email address such as “[email protected]

    I would have thought that the plugin should detect that their email address is already in the database and then just programmatically log them in to the site ?

    I’ve dug through the code and found a function called “wsl_process_login_complete_registration” which may (or may not?) have something to do with it?

    At the top of that file (wsl.complete.registration.php) it mentions that this functions will be deprecated in an upcoming version.

    Any news on the issue I’m experiencing and whether it is something I’m doing wrong or a known issue ?

    Many thanks

    John ??

    https://www.ads-software.com/plugins/wordpress-social-login/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi, I’m seeing this too – I’ve done some troubleshooting and opened an issue regarding this https://github.com/miled/wordpress-social-login/issues/103

    Regards, David

    Thread Starter Johnny T

    (@johnny-t)

    Thanks for letting me know David.

    I ended up getting around it by “hooking” in to the routine that creates the new user – getting their email and checking the database for an equivalent. If there is that user then log them in (programmitically) and delete the ‘newly’ created user.

    It works fine but I’ve had to drop Twitter support for security reasons (ie. the visitor can just use any email address they want as they don’t have to validate their email from Twitter).

    Will be interested to see if they come up with a better solution to this.

    Thanks again for letting me know ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘FB login creates new account instead of logging in’ is closed to new replies.