SuiteCRM Version: 8.5.1
Installation Type: Compiled zip (official release)
Authentication Type: SAML SSO (Azure AD)
Environment: Azure VM with IIS 10 and PHP
Frontend: Default React frontend (/public/#/Login)
Issue Summary:
We are trying to enable SAML Single Sign-On (SSO) authentication in SuiteCRM using Azure AD as the Identity Provider (IdP). Despite setting all required configuration variables in .env and .env.local, the application still loads the default login screen instead of redirecting to the Azure AD login page.
Configuration Changes Made:
Below are the key changes added to the .env and .env.local files:
AUTH=saml
SAML_ENABLED=true
SAML_SSO_URL="https://login.microsoftonline.com/{your-tenant-id}/saml2"
SAML_ACS_URL="https://crm.example.com/public/legacy/index.php?module=Users&action=Authenticate"
SAML_IDP_ENTITY_ID="https://sts.windows.net/{your-tenant-id}/"
SAML_SP_ENTITY_ID="https://crm.example.com"
SAML_X509_CERT="-----BEGIN CERTIFICATE-----
MIIDyzCCArOgAwIBAgIQCgooq+meS6N5NGR9VJgdFTANBgkqhkiG9w0BAQsFADBg
...
-----END CERTIFICATE-----"
SAML_REQUEST_SIGNING=true
SAML_VALIDATE_SIGNATURE=true
SAML_VALIDATE_RESPONSE=true
SAML_VALIDATE_ASSERTION=true
Observed Behavior:
- SuiteCRM continues to show the default login page at
/public/#/Login. - No redirection to the IdP (Azure AD login page) is triggered automatically.
- No relevant errors are shown in SuiteCRM logs.
- We confirmed that the
AUTH=samlsetting is loaded correctly.
Expected Behavior:
Upon accessing the login page, SuiteCRM should automatically redirect to the Azure AD login page for authentication via SAML.
Request: