Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatic User Approval Across Subdomains on Account Creation wp-remote-users-sync #73

Open
CarlitoDevDreamer opened this issue Aug 16, 2023 · 3 comments

Comments

@CarlitoDevDreamer
Copy link

CarlitoDevDreamer commented Aug 16, 2023

Issue Description:
I have 3 subdomains, www.example.com, www.sub1.example.com and www.sub2.example.com.

When a user creates an account on the "main" website www.example.com, the user is automatically approved on other subdomains such as www.sub1.example.com and www.sub2.example.com.

This user approval process occurs without the need for the user to confirm or verify their registration via the email sent to their inbox.

If the user makes it's registration on the "main" website www.example.com it is automatically approved on the other 2 subdomains www.sub1.example.com and www.sub2.example.com, but it is not automatically approved on the "main" website www.example.com.

Also, if the user logins on the www.sub1.example.com and www.sub2.example.com it will be automatically logged in to the "main" website www.example.com even if it is not approved.

I really appreciate any tips you can give me!

[I will try to keep solving this issue on my own and I'll try to keep this updated]

Plugin Name:
WP-Remote-Users-sync

Plugin Version:
[1.2.13]

WordPress Version:
[6.3]

Current PHP version:
[8.0]

@CarlitoDevDreamer
Copy link
Author

I ended up solving the issue, and as soon as I have the chance, I'll soon provide a solution!
And then I'll close the issue.

@wmasat
Copy link

wmasat commented Dec 24, 2023

I ended up solving the issue, and as soon as I have the chance, I'll soon provide a solution! And then I'll close the issue.

Please share the solution to this problem, I need it very much

@CarlitoDevDreamer
Copy link
Author

CarlitoDevDreamer commented Dec 24, 2023

I ended up solving the issue, and as soon as I have the chance, I'll soon provide a solution! And then I'll close the issue.

Please share the solution to this problem, I need it very much

Hello!

I ran several additional tests, and it wasn't working properly in some ways, which I can't remember right now.

I made a few tweaks, and it ended up working well but not perfectly. Consequently, I decided to abandon the idea of using a plugin and am now planning to implement a custom-developed solution in the future...

However, I did find a way for it to work well but with a few issues, such as the username and other user information not syncing properly.

I recommend making some adjustments to the "List of metadata to accept (leave empty to accept all):" and "List of roles to accept (leave empty to accept all):" (and transfer as well) fields. Keep trying different configurations until you find a setup that is acceptable for you. (approve key and status metadata related parameters)
wp remote users sync
)

I can attempt to take a closer look and provide further assistance, but it's not guaranteed.

Additionally, if possible, please provide more information, such as how many sites you plan to sync, so I can offer more targeted help.

I apologize for not being able to provide a better solution. I initially thought I had one, but after running more tests, I discovered that it wasn't working as well as I thought.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants