• Resolved qqetox

    (@qqetox)


    Hello, I would like to ask this question, all my tests are going fine, everything seems to be synchronized, but the password from site A does not match site B and vice versa. All databases are synchronized

Viewing 11 replies - 1 through 11 (of 11 total)
  • Thread Starter qqetox

    (@qqetox)

    I also noticed that user usernames and passwords are not transferred between sites

    Plugin Author tbenyon

    (@tbenyon)

    Hi there,

    If you mean the stored hash in the local database is different to the external database, this is by design.

    The external database could be using a different hashing algorithm to that which WordPress uses (bcrypt). Thus we always use WordPresses hashing (bcrypt) when storing the password. This also means that if the security of bcrypt is updated (e.g. more rounds) we still store the password in the most secure way.

    I’m sure you’re aware but even if you use bcrypt twice to store the same password you will get different hashes as a new salt is used every time.

    Regarding the second question, you are correct. Please read the “Is this plugin what I need?” section in the documentation. If you are looking for Single Sign On you should be looking at a different solution.

    Thread Starter qqetox

    (@qqetox)

    @tbenyon

    I just wanted to know if users of my site B will be able to log in using the username and password of site A instead of creating a new account.

    Plugin Author tbenyon

    (@tbenyon)

    I’m assuming “Site A” is a site with existing users and “Site B” is where you will be installing this plugin and expecting users from “Site A” to be able to login to “Site B”.

    If this is what you want this is exactly what the plugin does. It does not sync user changes back to site A. When a user logs into Site B, a clone of that user is migrated to Site B.

    I think I’ve answered your questions so I’m marking as resolved but if you have any other questions please keep firing questions.

    Thanks ??

    Thread Starter qqetox

    (@qqetox)

    Thank you very much Tom (@tbenyon).
    could you explain in more detail how to do this?

    Plugin Author tbenyon

    (@tbenyon)

    How to do what sorry?

    Thread Starter qqetox

    (@qqetox)

    @tbenyon

    When a user logs into Site B, a clone of that user is migrated to Site B. I think I’ve answered your questions.

    how to do it?

    Plugin Author tbenyon

    (@tbenyon)

    This is the default behaviour of the plugin so you simply need to fill in the rest of the settings.

    Thread Starter qqetox

    (@qqetox)

    @tbenyon

    I did this but I can’t log into server A using server B’s user credentials

    Plugin Author tbenyon

    (@tbenyon)

    Are you getting an error? What settings do you have configured in the first settings block?

    Plugin Author tbenyon

    (@tbenyon)

    Also, what happens if you press the test button?

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘transferring a username and password between 2 sites’ is closed to new replies.