{"name":"LoginSaml","displayName":"Login SAML","owner":"matomo-org","description":"Provides SAML-based Single Sign-On (SSO) support for Matomo. Works with any Identity Provider (IdP) such as OneLogin, Microsoft Entra ID, Google, and Salesforce. Try now for free.","homepage":"https:\/\/plugins.matomo.org\/LoginSaml","createdDateTime":"2017-08-01 04:14:17","donate":{},"support":[],"isTheme":false,"keywords":["authentication","sso","google","saml","ADFS","OneLogin","Okta","Ping Identity","Salesforce","SharePoint","Just-in-time provisioning","Microsoft Entra ID"],"basePrice":550,"authors":[{"name":"Matomo","email":"contact@innocraft.com","homepage":"https:\/\/matomo.org"}],"repositoryUrl":null,"lastUpdated":"2026-11-30 02:28:47","latestVersion":"6.0.9","numDownloads":null,"screenshots":["https:\/\/plugins.matomo.org\/LoginSaml\/images\/6.0.9\/access_sp_metadata.png","https:\/\/plugins.matomo.org\/LoginSaml\/images\/6.0.9\/advanced_settings.png","https:\/\/plugins.matomo.org\/LoginSaml\/images\/6.0.9\/attribute_mapping_settings_form.png","https:\/\/plugins.matomo.org\/LoginSaml\/images\/6.0.9\/attribute_sync_settings.png","https:\/\/plugins.matomo.org\/LoginSaml\/images\/6.0.9\/enable_saml_saved.png","https:\/\/plugins.matomo.org\/LoginSaml\/images\/6.0.9\/idenity_provider_settings.png","https:\/\/plugins.matomo.org\/LoginSaml\/images\/6.0.9\/import_idp_metadata.png","https:\/\/plugins.matomo.org\/LoginSaml\/images\/6.0.9\/LoginSaml_Admin_admin_page.png","https:\/\/plugins.matomo.org\/LoginSaml\/images\/6.0.9\/LoginSaml_Admin_import_page.png","https:\/\/plugins.matomo.org\/LoginSaml\/images\/6.0.9\/LoginSaml_Admin_metadata_page.png","https:\/\/plugins.matomo.org\/LoginSaml\/images\/6.0.9\/LoginSaml_login_page.png","https:\/\/plugins.matomo.org\/LoginSaml\/images\/6.0.9\/login_saml_menu_item.png","https:\/\/plugins.matomo.org\/LoginSaml\/images\/6.0.9\/saml_status.png"],"coverImage":"https:\/\/plugins.matomo.org\/img\/covers\/LoginSaml.png","previews":[],"activity":{"numCommits":null,"numContributors":null,"lastCommitDate":null},"featured":false,"isFree":false,"isPaid":true,"isBundle":false,"isCustomPlugin":false,"shop":{"url":"https:\/\/plugins.matomo.org\/LoginSaml","variations":[{"product_variation_id":4804,"price":"549","prettyPrice":"549EUR","currency":"EUR","period":"year","name":"Unlimited users","discount":0,"prettyDiscount":"","addToCartUrl":"https:\/\/shop.matomo.org\/checkout\/?add-to-cart=4803&variation_id=4804&aelia_cs_currency=EUR&legacy=1","addToCheckoutUrl":"https:\/\/shop.matomo.org\/checkout\/?add-to-cart=4803&variation_id=4804","addToCartEmbedUrl":"https:\/\/shop.matomo.org\/product\/plugin-loginsaml\/?attribute_type=Unlimited+users&add-to-cart=4803&variation_id=4804&aelia_cs_currency=EUR"},{"product_variation_id":4804,"price":"659","prettyPrice":"USD659","currency":"USD","period":"year","name":"Unlimited users","discount":0,"prettyDiscount":"","addToCartUrl":"https:\/\/shop.matomo.org\/checkout\/?add-to-cart=4803&variation_id=4804&aelia_cs_currency=USD&legacy=1","addToCheckoutUrl":"https:\/\/shop.matomo.org\/checkout\/?add-to-cart=4803&variation_id=4804","addToCartEmbedUrl":"https:\/\/shop.matomo.org\/product\/plugin-loginsaml\/?attribute_type=Unlimited+users&add-to-cart=4803&variation_id=4804&aelia_cs_currency=USD","cheapest":true},{"product_variation_id":130492,"price":"2219","prettyPrice":"2219EUR","currency":"EUR","period":"year","name":"Unlimited users.","discount":0,"prettyDiscount":"","addToCartUrl":"https:\/\/shop.matomo.org\/checkout\/?add-to-cart=4803&variation_id=130492&aelia_cs_currency=EUR","addToCheckoutUrl":"https:\/\/shop.matomo.org\/checkout\/?add-to-cart=4803&variation_id=130492","addToCartEmbedUrl":"https:\/\/shop.matomo.org\/product\/plugin-loginsaml\/?attribute_type=Unlimited+users.&add-to-cart=4803&variation_id=130492&aelia_cs_currency=EUR"},{"product_variation_id":130492,"price":"2669","prettyPrice":"USD2669","currency":"USD","period":"year","name":"Unlimited users.","discount":0,"prettyDiscount":"","addToCartUrl":"https:\/\/shop.matomo.org\/checkout\/?add-to-cart=4803&variation_id=130492&aelia_cs_currency=USD","addToCheckoutUrl":"https:\/\/shop.matomo.org\/checkout\/?add-to-cart=4803&variation_id=130492","addToCartEmbedUrl":"https:\/\/shop.matomo.org\/product\/plugin-loginsaml\/?attribute_type=Unlimited+users.&add-to-cart=4803&variation_id=130492&aelia_cs_currency=USD","cheapest":false}],"reviews":{"embedUrl":"https:\/\/shop.matomo.org\/product\/plugin-loginsaml\/?show_reviews=1&piwik_embed=1","height":200,"averageRating":"5.00","ratingCount":1,"reviewCount":1}},"bundle":{"plugins":[]},"specialOffer":"","category":"uncategorised","categories":["security"],"promotions":{},"versions":[{"name":"6.0.9","release":"2026-11-30 02:28:47","requires":{"php":">=8.1.0","matomo":">=6.0.0-b1,<7.0.0-b1"},"wordPressCompatible":false,"onPremiseCompatible":true,"numDownloads":null,"license":{"name":"InnoCraft EULA","url":"https:\/\/plugins.matomo.org\/LoginSaml\/6.0.9\/license"},"repositoryChangelogUrl":null,"readmeHtml":{"description":"\n\n<p>Unify access control and bolster security with SAML (Security Assertion Markup Language) support for Matomo, seamlessly integrating with Identity Providers like OneLogin, Okta, Ping Identity, ADFS, Google, Salesforce, and SharePoint.<\/p>\n\n<p>Managing multiple access controls can be a chaotic task, leaving potential gaps in your security. Without a unified system, you risk inconsistent permissions and unintended exposures.<\/p>\n\n<p>Seamlessly integrate SAML support into Matomo, unifying your access controls and eliminating inconsistent permissions. Centralise your management and bolster your security, reducing risks of unintended exposures.<\/p>\n\n<h3>How Login SAML Works<\/h3>\n\n<h4>Enjoy A Hassle-Free IdP Configuration<\/h4>\n\n<div class=\"main-div-readme\" style=\"height:auto;\">\n<div class=\"left-div-readme\" style=\"width:50%;\">\n<p>Elevate your platform's user experience with our intuitive SAML setup. Seamlessly bridge Matomo with your Identity Provider, enabling robust single sign-on (SSO) capabilities and a fortified security landscape in just a few clicks.<\/p>\n<\/div>\n<div class=\"right-div-readme\">\n<img src=\"https:\/\/plugins.matomo.org\/img\/LoginSaml\/image1.jpg\" style=\"margin-left:24px;\" alt=\"Enjoy A Hassle-Free IdP Configuration\" \/>\n<\/div>\n<\/div>\n\n<h4>Streamline Account Creation and Access Management<\/h4>\n\n<div class=\"main-div-readme\" style=\"height:auto;\">\n<div class=\"left-div-readme\" style=\"width:50%;\">\n<p>Use Just-in-time Provisioning to create user profiles automatically and provide a frictionless onboarding process. Pre-define the sites new users can view and choose when users can seamlessly log out from all connected sessions at once.<\/p>\n<\/div>\n<div class=\"right-div-readme\">\n<img src=\"https:\/\/plugins.matomo.org\/img\/LoginSaml\/image2.jpg\" style=\"margin-left:24px;\" alt=\"Streamline Account Creation and Access Management\" \/>\n<\/div>\n<\/div>\n\n<h4>Map User Attributes Seamlessly<\/h4>\n\n<div class=\"main-div-readme\" style=\"height:auto;\">\n<div class=\"left-div-readme\" style=\"width:50%;\">\n<p>Combine user identification and email mapping for a more unified and streamlined user management experience. <\/p>\n<p>The Login SAML plugin ensures that each user's identity is correctly associated with their username and email, enhancing accuracy and paving the way for tailored engagement strategies across various platforms.<\/p>\n<\/div>\n<div class=\"right-div-readme\">\n<img src=\"https:\/\/plugins.matomo.org\/img\/LoginSaml\/image3.png\" style=\"margin-left:24px;\" alt=\"Map User Attributes Seamlessly\" \/>\n<\/div>\n<\/div>\n\n<h4>Harness Full Control with Access Synchronisation<\/h4>\n\n<div class=\"main-div-readme\" style=\"height:auto;\">\n<div class=\"left-div-readme\" style=\"width:50%;\">\n<p>Assume complete control over user access levels by molding them according to your distinct SAML attributes. Enhance each user's experience by meticulously segmenting server information using precise delimiters.<\/p>\n<p>Give every Matomo instance its own unique identifier, ensuring effortless identification and management.<\/p>\n<\/div>\n<div class=\"right-div-readme\">\n<img src=\"https:\/\/plugins.matomo.org\/img\/LoginSaml\/image4.png\" style=\"margin-left:24px;\" alt=\"Harness Full Control with Access Synchronisation\" \/>\n<\/div>\n<\/div>\n\n<h4>Secure, Customise, and Troubleshoot with Ease<\/h4>\n\n<div class=\"main-div-readme\" style=\"height:auto;\">\n<div class=\"left-div-readme\" style=\"width:50%;\">\n<p>Delve into Matomo's advanced SAML settings to bolster your data security. Activate 'strict mode' to ensure that only authenticated messages are processed. Tailor user identification by selecting the ideal NameID format. Use debug mode to identify and resolve problems swiftly.<\/p>\n<\/div>\n<div class=\"right-div-readme\">\n<img src=\"https:\/\/plugins.matomo.org\/img\/LoginSaml\/image5.png\" style=\"margin-left:24px;\" alt=\"Secure, Customise, and Troubleshoot with Ease\" \/>\n<\/div>\n<\/div>\n\n<h3>Try Login SAML Today<\/h3>\n\n<p>Harness the power of Matomo's advanced SAML configurations, tailored just for you. Elevate your security, refine user access, and navigate challenges with clarity.<\/p>\n\n<p>Start your 30-day free trial today and unlock a new standard of digital security.<\/p>\n\n<h3>Features<\/h3>\n\n<ul>\n<li>SP-initiaited and IdP initiaited Single Sign On<\/li>\n<li>SP-initiaited and IdP initiaited Single Log Out<\/li>\n<li>Just-in-time provisioning<\/li>\n<li>Support attribute mapping<\/li>\n<li>Access synchronization based on data provided by Identity Provider<\/li>\n<li>Interoperate with any SAML Identity Provider<\/li>\n<li>Support SAML signature and encryption<\/li>\n<\/ul>\n\n","faq":"","documentation":"","changelog":"<style> .main-div-readme { display: flex; } .left-div-readme { width: 50%; } .right-div-readme { flex-grow: 1; width: 50%; } <\/style><p>6.0.9 - 2026-11-30\n- Improved parsing of the SAML superuser access attribute when it lists several Matomo instances<\/p>\n\n<p>6.0.8 - 2026-11-23\n- Answered refused logins, password resets and token requests with HTTP 403 (and refused password and email changes from Matomo 6.1.0), and malformed requests with 400, instead of HTTP 200 with an error message or HTTP 500<\/p>\n\n<p>6.0.7 - 2026-11-16\n- Fixed PHP deprecation notices on PHP 8.4 and newer<\/p>\n\n<p>6.0.6 - 2026-11-09\n- Require php-saml 4.4.1 which includes several security improvements and use xmlseclibs 4.X. \n- Fixed a fatal error when LoginSaml's settings were read on a request that didn't load the plugin, such as a tracking request<\/p>\n\n<p>6.0.5 - 2026-11-02\n- Set sha256 and rsa-sha256 as the default algorithms\n- Fixed just-in-time provisioning so the username and email received from the IdP are validated against the same format rules as other user creation paths before the user is created<\/p>\n\n<p>6.0.4 - 2026-10-22\n- Fixed the redirect after SAML login so that URLs which could be resolved by browsers to a different host are no longer followed\n- Fixed the Single Logout Service redirecting to the RelayState without validation when no IdP SLO URL is configured<\/p>\n\n<p>6.0.3 - 2026-10-19\n- Fixed the prevent-password-login enforcement so it can no longer be skipped via a request parameter; the SAML login requirement is now determined from the authenticated SAML flow<\/p>\n\n<p>6.0.2\n- Fixed the SAML instance identifier comparison, so an access value naming a different Matomo instance is no longer applied to this one<\/p>\n\n<p>6.0.1\n- Fixed the login and email comparison so that values the database collation treats as equal, but which belong to a different user, are no longer accepted<\/p>\n\n<p>6.0.0 - 2026-08-14\n- Compatibility with Matomo 6\n- Fixed an error during single sign-on when the log level was not set for this plugin, or was set to a name Matomo uses but Monolog does not\n- Added strict comparison of login username<\/p>\n\n<p>5.5.4 - 2026-08-10\n- Updated marketplace images<br \/>\n- Added code to check userLogin with logged-in use during re-auth<\/p>\n\n<p>5.5.3 - 2026-06-22\n- Added code to fix 2FA activation resulting in a verification loop due to recent core changes<\/p>\n\n<p>5.5.2 - 2026-05-14\n- Upgrade php-saml to 4.3.2 which uses xmlseclibs 3.1.5 due CVE-2026-32313 \n- Added code to always ask for password confirmation if setting enabled<\/p>\n\n<p>5.5.1 - 2026-05-11\n- Update core version check<\/p>\n\n<p>5.5.0 - 2026-05-11\n- Extend password confirmation box to add re-authentication via sso button, to ensure password confirmation box works for SAML\n- Added code to clear access before synchronization<\/p>\n\n<p>5.4.7 - 2026-04-27\n- Added code to sanitize errorMessage before display\n- Updated API documentation<\/p>\n\n<p>5.4.6 - 2026-04-13\n- Added more restrictive check in getSuperUserAccessFromSuperUserAttribute to determine superuser access\n- Added code to redirect to RelayState url only if it is a local URL<\/p>\n\n<p>5.4.5 - 2026-03-30\n- Fixes unable to set language if logged-in via SSO and field to identify is set as email<\/p>\n\n<p>5.4.4 - 2026-02-02\n- Updated API documentation PHPDoc blocks\n- Destroy all sessions when plugin is deactivated or saml is disabled via settings<\/p>\n\n<p>5.4.3 - 2026-01-05\n- Updated screenshots<\/p>\n\n<p>5.4.2 - 2025-12-09\n- Updated php-saml to 4.3.1<\/p>\n\n<p>5.4.1 - 2025-12-08\n- Updates screenshots to match the recent UI<\/p>\n\n<p>5.4.0 - 2025-11-24\n- Align create-app-tokenauth, password-reset, password-change and email-change with username\/password login auth\n  behavior: If user is not allowed to login via username\/password, this actions will now throw an exception.\n- Update default button text to \"Login with SSO\", and replace \"SAML Login\" with new default text<\/p>\n\n<p>5.3.6 - 2025-11-10\n- Update plugin description to mention SSO<\/p>\n\n<p>5.3.5 - 2025-08-18\n- Default to invite new users to login via SSO link, rather than set password.\n  Admins may choose to invite a user to set the password as before, on a case by\n  case basis.<\/p>\n\n<p>5.3.4 - 2025-07-07\n- Use SESSION_INFO_SESSION_VAR_NAME rather than hardcoded value<\/p>\n\n<p>5.3.3 - 2025-06-23\n- Improved the UI of the login page<\/p>\n\n<p>5.3.2 - 2025-05-12\n- Added an option to configure LoginSAML button text<\/p>\n\n<p>5.3.1 - 2025-05-12\n- We no longer enforce that users must use SSO when SSO is disabled, even if the \"Prevent normal login\nfor super users\" or \"Prevent normal login for non super users\" settings are enabled.<\/p>\n\n<p>5.3.0 - 2025-04-23\n- Added password confirmation, before saving any SAML settings<\/p>\n\n<p>5.2.3 - 2025-04-14\n- Improved error message displayed to users who must login via SAML, who have attempted to login via the normal \n  password system, if it's forbidden.<\/p>\n\n<p>5.2.2 - 2025-03-03\n- Improved force_saml check based on status<\/p>\n\n<p>5.2.1 - 2025-02-17\n- Fixed target parameter check<\/p>\n\n<p>5.2.0 - 2024-12-16\n- Add 2 new flags \"Prevent normal login for non super users\" and \"Prevent normal login for super users\"\n  and an exception list. When enabled, if a user matches the forced role and is not in the exception list\n  gonna be forced to use SAML, and the normal login form will fail.\n  There is a behavior change with respect to the previous LoginSAML versions, as previously,\n  if ForceSAML was enabled, we prevented super users from using the skip ForceSAML mechanism (normal mode login)\n  to use the normal login. Now, the \u201cPrevent normal login for super users\u201d needs to be enabled to\n  continue such behavior. Notice that by default, \u201cPrevent normal login for super users\u201d is now disabled.<\/p>\n\n<p>5.1.1 - 2024-11-05\n- Updated README.md<\/p>\n\n<p>5.1.0 - 2024-10-15\n- Fixes normal login flow to work only for superusers\n- Added code to skip password confirmation for create token auth<\/p>\n\n<p>5.0.9 - 2024-09-09\n- Translated the login button text<\/p>\n\n<p>5.0.8 - 2024-08-26\n- Pricing updated<\/p>\n\n<p>5.0.7\n- Added note explaining FriendlyName not working with some IDPs<\/p>\n\n<p>5.0.6\n- Added support for 2FA bypass when user logged via SAML<\/p>\n\n<p>5.0.5\n- Removed direct use of DI and Monolog dependencies<\/p>\n\n<p>5.0.4\n- Add support for write access permission\n- Support FriendlyName SAML attributes\n- Format certs before storing it on config file. Remove headers and extra spaces and lines\n- Added code to accept invitation if present during SAML SSO<\/p>\n\n<p>5.0.3\n- Updated README.md<\/p>\n\n<p>5.0.2\n- Disabled composer platform check<\/p>\n\n<p>5.0.1\n- Translation update<\/p>\n\n<p>5.0.0\n- Compatibility with Matomo 5<\/p>\n\n<p>4.3.0\n- Added option to disable password confirmation.<\/p>\n\n<p>4.2.0\n- Migrate AngularJS code to Vue.<\/p>\n\n<p>4.1.2\n- Improved handling of request parameters<\/p>\n\n<p>4.1.1\n- Fixed deprecation warnings for PHP8.1.<\/p>\n\n<p>4.1.0\n- PHP 8.0 compatibility\n- Update php-saml to 4.X branch\n- Support a new setting: 'Retrieve Proxy Vars Parameters' that will enable in the plugin the ability to read real protocol and port from HTTP_X_FORWARDED_PORT and HTTP_X_FORWARDED_PROTO\n- Translation updates<\/p>\n\n<p>4.0.3\n- Remove alias setting as it is no longer needed<\/p>\n\n<p>4.0.2\n- Improve compatible with matomo &gt;=4.0.0<\/p>\n\n<p>4.0.1\n- Improve compatible with matomo &gt;=4.0.0<\/p>\n\n<p>4.0.0\n- Version compatible with matomo &gt;=4.0.0<\/p>\n\n<p>3.4.0\n- Support multiple x509cert from the IdP\n- Update php-saml dependency to 3.4.1<\/p>\n\n<p>3.3.2\n- When force SAML is enabled, A Super User should be able to reset its password\n- Allow customers to decide when session expires (Matomo settings or SAML SessionNotOnOrAfter value)\n- Be able to change user profile settings. There was an error raised even if email\/password was not changed on the view that prevented updating other user settings fields.\n- Update php-saml dependency to 3.2.1\n- Adds Dutch translations<\/p>\n\n<p>3.3.1\n- Fix issue w\/ setting initial websites with view access for new users when trying to login w\/ existing user.<\/p>\n\n<p>3.3.0\n- Compatibility with PHP 7.2 and PHP 7.3\n- Fix issue with Just-in-time provisioning of users and assigning 'Initial Websites With View Access For New Users' when 'Access Synchronization Settings' is disabled or access data could not be retrieved from SAML attributes\n- Allow using <code>?normal<\/code> URL query parameter (to force standard login screen) even when ForceSAML is enabled\n- When logging in, redirect to the URL that was requested before login\n- New diagnostics checking that openssl PHP extension is activated\n- When importing new metadata, old metadata is now removed\n- Whenever an error occurs during SAML process, the error message is now displayed to the user\n- Single Log Out (SLO) was not always working\n- Updated translations<\/p>\n\n<p>3.2.2\n- Updated translations<\/p>\n\n<p>3.2.0\n- Add new feature to force SAML authentication. You can now force users to use SAML authentication by enabling the \u201cForce SAML Login\u201d setting. Doing this will redirect all users directly to the Identity Provider, so the Matomo login screen will never be displayed. Super Users will still have to login normally to, for example, configure the SAML plugin. Super Users can login through the Matomo login screen by appending ?normal to the URL when visiting Matomo. (Note: other users will not be able to login this way.)<\/p>\n\n<p>3.1.0\n- Compatibility with Matomo 3.6.0<\/p>\n\n<p>3.0.3\n - Fixed issue with SAML redirect URLs using HTTP instead of HTTPS when Matomo is setup behind a <a href=\"http:\/\/piwik.org\/faq\/how-to-install\/faq_98\/\">reverse proxy<\/a>.<\/p>"},"download":null}],"isDownloadable":false,"changelog":{"url":"https:\/\/plugins.matomo.org\/LoginSaml\/changelog"},"consumer":{"license":null,"loginUrl":"https:\/\/shop.matomo.org\/my-account"}}