Description
We’ve been using LDAP as authentication backend for a couple of weeks and now we have an SAML auth setup with Shibboleth. The login page currently allows both authentication mechanisms but we would like to keep only SAML.
The problem is that users who previously used RC with LDAP auth cannot use SAML auth because “Email already exists”.
Then I’ve manually modified the email addresses (and also modifying the username) and now these users can login with SAML… but they have lost all their previous messages because they are associated to a distinct RC account.
Is there a way to recover all previous messages?
Or is there a way to allow SAML authentication to “overwrite” any existing account with the same email address?
Server Setup Information
- Version of Rocket.Chat Server: 3.3.0
- Operating System: Debian Buster
- Deployment Method: manual install
- Number of Running Instances: 1
- DB Replicaset Oplog: 1
- NodeJS Version: v12.14.0
- MongoDB Version: 4.2.5
- Proxy: apache2