[FIX] Add '.value' in the SAML package to fix TypeErrors on SAML token validation#10084
[FIX] Add '.value' in the SAML package to fix TypeErrors on SAML token validation#10084sampaiodiego merged 5 commits intoRocketChat:developfrom
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.