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 Subject dereference bug #131

Merged
merged 1 commit into from
Dec 30, 2015

Conversation

timoruppell
Copy link
Contributor

The if (subject) block is extended to cover all access to subject.

We ran into this bug in the code because our SAML provider didn't include Subject at the root of the Assertion -> line 614 throws a 'cannot access 0 of undefined' error.

The `if (subject)` block is extended to cover all access to `subject`.

We ran into this bug in the code because our SAML provider didn't include Subject at the root of the Assertion -> line 614 throws a 'cannot access 0 of undefined' error.
ploer added a commit that referenced this pull request Dec 30, 2015
@ploer ploer merged commit 891aafb into node-saml:master Dec 30, 2015
ploer added a commit that referenced this pull request Dec 30, 2015
@ploer
Copy link
Contributor

ploer commented Dec 30, 2015

Thanks for the PR; merged!

(note that Travis tests were failing due to some scope issues; should be cleaned up now)

cjbarth added a commit to cjbarth/passport-saml that referenced this pull request Sep 10, 2018
…-string-signing

* commit '094c660a0560625ccd29dbbffff4b7168844b4ef':
  Fix scope issues in PR node-saml#131.
  Refactor HTTP-Post tests to be a branch in existing authnRequest tests, rather than largely duplicated separate test.
  Remove a comment left behind in the wrong place (and content now covered in documentation)
  Minor documentation clarification.
  Changing HTTP-Post AuthnRequest binding option to be part of SAML object options, named authnRequestBinding, and adding to documentation.
  Add a basic test for HTTP-Post authn binding support (PR node-saml#129)
  Fix Subject dereference bug
  Update package.json
  Update package.json
  Added missing semicolon
  Adds HTTP-POST binding support for the SAML <AuthnRequest>
  Add test for new nameid attributes
  Do not sign custom query string parameters
  Only add to logout xml if present in authn response
  Add NameQualifier and SPNameQualifier to nameID
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.

2 participants