From 98a45004d7186ef5b5d0ae60549fc74def706fe9 Mon Sep 17 00:00:00 2001 From: luizfelipelaviola Date: Wed, 16 Jul 2025 18:36:51 -0300 Subject: [PATCH 1/2] fix: disable saml session --- src/shared/infrastructure/saml/strategy.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/shared/infrastructure/saml/strategy.ts b/src/shared/infrastructure/saml/strategy.ts index c3c0e44..2bfb643 100644 --- a/src/shared/infrastructure/saml/strategy.ts +++ b/src/shared/infrastructure/saml/strategy.ts @@ -423,11 +423,12 @@ class SamlFederationManager { ), ); + // Disable session serialization since we're not using sessions passport.serializeUser((user: any, done: (err: any, id?: any) => void) => - done(null, user), + done(null, null), ); passport.deserializeUser((obj: any, done: (err: any, user?: any) => void) => - done(null, obj), + done(null, null), ); } From c45f5f0df28d3c595a7322f2a5636756bd48cee0 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 16 Jul 2025 21:38:43 +0000 Subject: [PATCH 2/2] chore(main): release 0.7.4 --- .github/config/release-please-manifest-main.json | 2 +- CHANGELOG.md | 7 +++++++ package.json | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/config/release-please-manifest-main.json b/.github/config/release-please-manifest-main.json index 40753e3..362989b 100644 --- a/.github/config/release-please-manifest-main.json +++ b/.github/config/release-please-manifest-main.json @@ -1 +1 @@ -{".":"0.7.3"} +{".":"0.7.4"} diff --git a/CHANGELOG.md b/CHANGELOG.md index dc148ff..9d7f814 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## [0.7.4](https://github.com/MalwareDataLab/autodroid-api/compare/v0.7.3...v0.7.4) (2025-07-16) + + +### Bug Fixes + +* disable saml session ([98a4500](https://github.com/MalwareDataLab/autodroid-api/commit/98a45004d7186ef5b5d0ae60549fc74def706fe9)) + ## [0.7.3](https://github.com/MalwareDataLab/autodroid-api/compare/v0.7.2...v0.7.3) (2025-07-16) diff --git a/package.json b/package.json index 4f16a3f..d47e593 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "autodroid-api", "author": "luizfelipelaviola ", - "version": "0.7.3", + "version": "0.7.4", "main": "./src/index.ts", "license": "MIT", "engines": {