diff --git a/package.json b/package.json index c8d071766..39e626340 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "italia-backend", - "version": "0.0.38", + "version": "0.0.39", "description": "Italia app and web backend", "main": "index.js", "engines": { diff --git a/src/app.ts b/src/app.ts index 424712b67..877a6c31d 100644 --- a/src/app.ts +++ b/src/app.ts @@ -62,13 +62,6 @@ function withSpidAuth( res: express.Response, next: express.NextFunction ) => { - if (req.body && req.body.SAMLResponse) { - const samlXMLResponse = new Buffer( - req.body.SAMLResponse, - "base64" - ).toString("utf8"); - log.info("SAML XML response: %s", samlXMLResponse); - } passport.authenticate("spid", async (err, user) => { if (err) { log.error("Error in SPID authentication: %s", err);