Hey @fabianesm,
It sounds like this would do part of what you’re looking for but I would just like to clarify the flow.
Every time the user logs in to WordPress, the plugin will first try to login the user with the external database of users.
If it can connect to the external database and the user is found, it will use the external database to try and authenticate the user.
If their password was correct it will create their user in the WordPress database. If a user with that username already exists it will update that users password and other information from the external database.
This would ensure the password was up to date every time they logged in to WordPress.
If the database can’t be connected to, it will try and login the user using the WordPress database (but there is a setting to turn that off called “Disable Local Login”).
The plugin does nothing to move data from WordPress to the external database. However, there is a hook you can use that fires after the user has been authenticated that would allow you to run queries then.
Let me know if you have any other questions ??