• For example Im login to site aaa.com and Then Simultaneously on site aaa.com/b

    Two addresses are 2 WordPress sites located on one host
    The main goal is for the user to only log in to the first site

    • This topic was modified 5 years, 3 months ago by mahdikhoram.
    • This topic was modified 5 years, 3 months ago by mahdikhoram.
Viewing 1 replies (of 1 total)
  • Moderator bcworkz

    (@bcworkz)

    Two separate WP installations, not one multisite installation, correct? There are a number of single sign on plugins you could use for the purpose.
    https://ww.wp.xz.cn/plugins/search/single+sign+on/

    If you want to code something yourself and the second site would always rely upon the first to verify log in state, it could simply ask via HTTP. The exchange should be protected with a true security nonce (not the WP nonce) to ensure adequate security.

Viewing 1 replies (of 1 total)

The topic ‘How to automatic login 2 Site WordPress?’ is closed to new replies.