Single sign-on: wp_authenticate_user vs wp_authenticate
I have a wordpress site (lets call it site1) and another site with oauth2 (site2). When a new user is created, a record is created in both site1 and site2 databases with the same email as username, the typed password hashed in site2 database and a dummy (e.g. “pass”) password for site1 database. Then login … Read more