ARTIFACTORY: How to resolve SAML login error with "SAML integration is disabled. Terminating SAML login response processing."
Description After integrating with SAML SSO completed, and trying to log in via the UI, you may encounter the following error on the UI: "Error occurred while trying to login using SAML: Check your Artifactory logs for more details."In the "artifactory-service.log", the following error will be reported:
2024-11-01T02:50:48.065Z [jfrt ] [ERROR] [654310253ea69cde] [o.a.a.s.s.SamlHandlerImpl:151 ] [ttp-nio-8081-exec-18] - SAML integration is disabled. Terminating SAML login response processing. 2024-11-01T02:50:48.066Z [jfrt ] [ERROR] [654310253ea69cde] [GetSamlLoginResponseService:68] [ttp-nio-8081-exec-18] - Error occurred while trying to login using SAML: Saml integration is disabled
Root cause
The root cause of the above issue is that the 'Display Name' in the SAML SSO configuration is not 'default'.
Resolution
Navigate to your SAML configuration on the UI Administration | Authentication | SAML SSO:
1. Ensure the "Enable SAML SSO" and "Enable SAML Integration" have been checked:
2. Check the "Display Name" of your SAML configuration, if the "Display Name" is not "default", please change it to the "default", you may need to re-add the SAML configuration:
A) Delete the current old SAML configuration:
B) Add the new SAML configuration, set the "Display Name" to "default", and save it:
Now, try to log in with SAML again, and it will be successful.