Hi,
I have a Multisite WordPress installation with subdomains.
Each subdomain is a Woocommerce Store, while the main site is a directory built on GeoDirectory.
I’m using UsersWP for Login/Registration on the main site.
When users login on the main site and switch to one of the subdomains, they’re already logged, and that’s perfect. Moreover, if they access Woocommerce Account page, they can see order history for the single shop, and that’s ok.
The problem happens where users try to login from a subdomain.
1. Login form appears in lightbox, even if lightbox options are disabled, and lightbox (I’m using Astra theme + Elementor) doesn’t work properly, maybe due to problems loading bootstrap files; there are no social login icons and no input fields, so user actually can’t login (I have to set a custom link to the main domain).
2. I can’t find a way to have users redirected to the subdomain if the login from there.
The ideal situation would be to make the plugin working in a multisite installation giving users the option to login from any site, with the right redirection to the main site or to a subdomain.
I don’t want users to signup on subdomains, because the account actually belongs to the main site/directory listing, so it is ok to have signup only on the main site, but login function is important on the entire network.
I wasn’t able to test Social Login functionality on a subdomain (it works very well on the main site), having -like I said before- no buttons in the lightbox, but I already know that without a “uwphauth” redirect parameter, I will have to add a separate OAuth url for each subdomain, so maybe you can add this functionality, I hope.
P.S. A nice feature would be to disable Woocommerce login/registration pages, replacing them with UsersWP, similar to the already present option to force wp-login redirection.
Thank you, great work.