-
Notifications
You must be signed in to change notification settings - Fork 11k
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
Login with CAS gives me : "Username already exists." #3379
Comments
This seems to happen when RocketChat accounts were created before 6b5565a Short fix if you can live with the consequences for now: |
But if I remove this user, all his posts will be deleted? |
That's the downside of deleting the user. Of course you can edit the user directly in the database by using
Edit: A possible solution by doing a server-side check and upgrade the user is possible, but that could lead to unwanted modifications to Users which are not CAS created users e.g: in an environment where CAS is not the only user creating module. |
Great I accessed the mongodb server directly (because I was unable to find |
For future reference, use something with docker like this:
|
After being connected to the rocketchat container (via
|
@anthony-o This issue can be closed? |
I have installed rocketchat with snap, how can I run those commands? |
Hi, i have installed in my local machine a server RC and i have to sincronize user via CAS, but i am obbliged to leave the checkbox "Registration with Authentication Services" to true, because in your record user exist the services json for cas. "services": { For my purpose i create the user via rest api and next to access in rocket chat via CAS, but with the checkbox setting in true i have the error "User Exist...", it's possible to carry out an update to the record user with the services cas and check the first via CAS and the next via Password. It's presumibile resolve this issue in this mode? Thanks Best regards |
Hello, I don't understand why this issue is closed, I still have the problem here (v3.4.1). Thanks for your help. |
A fix was added to the fix, it works perfectly now (3.4.2). |
Your Rocket.Chat version: 0.31.0
I've enabled CAS on my Rocket.Chat. This instance was created with v0.21.0 and my user was the first one to be created and the admin.
If I try to login with CAS, I've got "Username already exists." error message and I stay on login screen.
But other users don't have that problem: they can correctly manage to login with the CAS button.
The text was updated successfully, but these errors were encountered: