Step 5: Obtain the Identity Provider Metadata File
This final step in setting up SSO for Code Insight is to obtain the Identity Provider metadata file. The Identity Provider might require that you send the Code Insight SPMetadata.xml file (set up in Step 4: Customize the Sample Service Provider Metadata File) in order to provide the Identity Provider metadata file.
Alternatively, you might be required to generate the Identity Provider metadata file using the Identity Provider UI. You will need to provide the single-sign-on URL for Code Insight (also specified in the SPMetadata.xml):
https://myhost.mycompany.com:8443/codeinsight/login/saml2/sso/REGISTRATION_ID
The REGISTRATION_ID must match the value set for the saml.registration.id property in the core.sso.common.properties file.
To obtain the Identity Provider metadata:
-
Follow the Identity Provider’s instructions for obtaining the Identity Provider metadata.
-
Once you obtain the Identity Provider metadata, save it as
IDPMetadata.xmlin theSCA_install_home``/config/core/securitydirectory.
For users migrating from an older version of Code Insight to Code Insight 2025 R4 or later, it is essential to update the single sign-on (SSO) URL in the Identity Provider (IdP) configuration. Failing to update these URLs may lead to authentication failures, as the IdP could attempt to communicate with outdated SSO endpoints that are no longer valid in the updated SSO configuration.