We encountering problems when trying to use CentralAuth and PluggableAuth at the same time. In the scope of this ticket, we want to investigate and fix them (if possible).
Cases
- when a new user is created via Keycloak user is replicated to CentralAuth but the password is omitted.
- A new user has been created via default MediaWiki functionality where PluggableAuth is enabled and tries to log in via PluggableAuth it duplicates the user by adding 1 to the username suffix. If a user is created in the MediaWiki instance without PluggableAuth it works properly with the user federation.
- when a new user is created via Keycloakand tries to log in via PluggableAuth, if the user does not exist in CentralAuth and the user already exists in the current MediaWiki instance it duplicates the user by adding 1 to the username suffix.