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": { 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), ); }