From eb7dca47bce7fd8fea9f2f2f14635671b02747a3 Mon Sep 17 00:00:00 2001 From: KalleV Date: Fri, 15 Dec 2017 11:08:34 -0700 Subject: [PATCH] Document "signResponse" login middleware option --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 6025389..4ff314e 100644 --- a/README.md +++ b/README.md @@ -32,8 +32,9 @@ Options | signatureAlgorithm | signature algorithm, options: rsa-sha1, rsa-sha256 | ```'rsa-sha256'``` | | digestAlgorithm | digest algorithm, options: sha1, sha256 | ```'sha256'``` | | RelayState | state of the auth process | ```req.query.RelayState || req.body.RelayState``` | -| sessionIndex | the index of a particular session between the principal identified by the subject and the authenticating authority | _SessionIndex is not included_ | -| responseHandler | custom response handler for SAML response f(SAMLResponse, options, req, res, next) | HTML response that POSTS to postUrl | +| sessionIndex | the index of a particular session between the principal identified by the subject and the authenticating authority | _SessionIndex is not included_ | +| responseHandler | custom response handler for SAML response f(SAMLResponse, options, req, res, next) | HTML response that POSTS to postUrl | +| signResponse | sign the response instead of the assertion | false | Add the middleware as follows: