Skip to content

Commit

Permalink
fix #393 adding 'inResponseTo' in the profile (#404)
Browse files Browse the repository at this point in the history
* fix #393 adding 'inResponseTo' in the profile
  • Loading branch information
nishch authored and markstos committed Nov 18, 2019
1 parent 4ebfae0 commit 7bffa5c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/passport-saml/saml.js
Original file line number Diff line number Diff line change
Expand Up @@ -901,6 +901,10 @@ SAML.prototype.processValidlySignedAssertion = function(xml, samlResponseXml, in
profile.issuer = issuer[0]._;
}

if (inResponseTo) {
profile.inResponseTo = inResponseTo;
}

var authnStatement = assertion.AuthnStatement;
if (authnStatement) {
if (authnStatement[0].$ && authnStatement[0].$.SessionIndex) {
Expand Down

0 comments on commit 7bffa5c

Please sign in to comment.