Skip to content

Commit

Permalink
Merge pull request #7 from bernardini687/fix-idp-issuer
Browse files Browse the repository at this point in the history
fix: leftover idp issuer for name qualifier check
  • Loading branch information
random42 authored Mar 19, 2024
2 parents 5e47b11 + 85be700 commit c403e2e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@
"build": "tsc",
"prepare": "run-s build",
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
"lint": "eslint \"{src,test}/**/*.ts\" --fix"
"lint": "eslint \"{src,test}/**/*.ts\" --fix",
"test": "bash ./test.sh"
},
"dependencies": {
"@node-saml/node-saml": "^4.0.0",
Expand Down
2 changes: 1 addition & 1 deletion src/response.ts
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ export class SpidResponse extends XML.XML {
);
assert.strictEqual(
data.subject.nameIdQualifier,
saml.idpIssuer,
idpIssuer,
`Invalid NameQualifier "${data.subject.nameIdQualifier}"`,
);
// SubjectConfirmation
Expand Down

0 comments on commit c403e2e

Please sign in to comment.