Added SAML as auth provider for SSO authentication #569
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.



This pull request introduces support for SAML 2.0 Single Sign-On (SSO) authentication to the Switcher API, including configuration, documentation, environment setup, and code changes. It adds new dependencies, environment variables, and API endpoints, and updates the admin model to support SAML users. The documentation is updated to guide users through SAML setup.
SAML 2.0 SSO Integration
passportand@node-saml/passport-saml, including strategy configuration and session management insrc/external/saml.jsandsrc/app.js. [1] [2] [3]src/models/admin.js) to support SAML users, adding thesamlprovider,_samlidfield, and new query methods for SAML accounts. [1] [2]Environment and Deployment Configuration
.env-cmdrc-template,config/.env.dev, anddocker-compose.ymlfor local and production deployments. [1] [2] [3] [4]master.yml,release.yml,re-release.yml,sonar.yml). [1] [2] [3] [4]API Changes and Documentation
/admin/saml/login,/admin/saml/callback,/admin/saml/auth,/admin/saml/metadata) to the API and documented them in Swagger (src/api-docs/paths/path-admin-saml.js,src/api-docs/swagger-document.js). [1] [2] [3]README.mdwith SAML SSO setup instructions and clarified supported authentication providers. [1] [2]Dependency Updates
passport,@node-saml/passport-saml,express-session) and updatedaxios. [1] [2]Minor Improvements