Skip to content
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

Merged
merged 5 commits into from
Apr 7, 2018

Conversation

heysanil
Copy link
Contributor

@heysanil heysanil commented Mar 9, 2018

@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.

@CLAassistant
Copy link

CLAassistant commented Mar 9, 2018

CLA assistant check
All committers have signed the CLA.

@heysanil heysanil changed the title Add '.value' in the SAML package to fix TypeErrors Add '.value' in the SAML package to fix TypeErrors on SAML token validation Mar 9, 2018
@heysanil heysanil changed the title Add '.value' in the SAML package to fix TypeErrors on SAML token validation [FIX] Add '.value' in the SAML package to fix TypeErrors on SAML token validation Mar 9, 2018
@arminfelder
Copy link
Contributor

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

@pageb018
Copy link

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.

@rodrigok
Copy link
Member

rodrigok commented Apr 5, 2018

Guys, I did some changes, can you test and see if it is still working?

@pageb018
Copy link

pageb018 commented Apr 5, 2018

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?

@sampaiodiego sampaiodiego added this to the 0.63.1 milestone Apr 5, 2018
@Hudell
Copy link
Contributor

Hudell commented Apr 6, 2018

I believe the lines 399 and 401 of the saml_utils.js file should also receive a .value, when accessing attributes' names.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SAML broken after recent update
9 participants