-
Notifications
You must be signed in to change notification settings - Fork 11.2k
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
[FIX] Add '.value' in the SAML package to fix TypeErrors on SAML token validation #10084
Conversation
I would suggest to test the latest version of the https://github.com/steffow/meteor-accounts-saml (I replaced the XML parsing code) and if it still fails, do a pull request there to prevent upstream issues |
Any news on this fix? I have worked with OneLogin to develop a SAML app for RocketChat, but can't confirm it is working correctly with these errors. We are waiting to deploy. |
Guys, I did some changes, can you test and see if it is still working? |
Happy to test, but I deploy via Docker. How long does it usually take for the updated dev image to get published on Docker Hub? |
I believe the lines 399 and 401 of the saml_utils.js file should also receive a .value, when accessing attributes' names. |
@RocketChat/core
Closes #10056
SAML broke with 0.62.1 and throws a TypeError while validating a token from the IdP. As observed by @chrosey in #10056, adding '.value' in two locations of the SAML package fixes the issue.