-
Notifications
You must be signed in to change notification settings - Fork 11.6k
Wrong user when logging using SAML with RocketChat 1.1.0 #14664
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
Comments
We see the exact same behaviour on our RocketInstance. The user being matched seems to be always the same one Our setup is almost the same than @menardorama We had to deactivate SAML for now to avoid any problem Server Setup Information:Version of Rocket.Chat Server: 1.1.0 |
I don't know if I did well, but as I only use SAML and of course I didn't do a mongo backup before the update (which is bad......) so I found a workaround which works for me this time. I was able to rollback to 1.0.3 by updating the version in the rocketchat db. I was lucky, the last migration did only have an update on the Livechat secret https://github.com/RocketChat/Rocket.Chat/blob/1.1.0/server/startup/migrations/v145.js So I have updated to version 144 in the db and start again version 1.0.3
|
I have no way of testing this hypothesis but I suspect bad regexp handling on email addresses matching. The regexp in question is probably https://github.com/RocketChat/Rocket.Chat/blob/develop/app/meteor-accounts-saml/server/saml_server.js#L116 Also the |
I was plain wrong, the problem is not with the regexp (which did not change) but with filtering on Which leads when this field is not set anywhere to
|
Description:
Updated rocketchat to 1.1.0 on my on prem rocketchat server and now when users log in using SAML are not matchedon the right user in rocketchat
Steps to reproduce:
Expected behavior:
Should work like before
Actual behavior:
User are being matched to somebody else.
SAML Debug log show the right user but it's next mapped to another user
Server Setup Information:
The text was updated successfully, but these errors were encountered: