Troubleshooting SAML


System administrators may need to enable a SAML log file to troubleshoot login issues.

To create a SAML log:
  1. Navigate to the Ingeniux CMS installation's site folder (e.g., [Drive]:[path-to-site-root-folder]).
  2. Locate the Web.config file, and open it in a text editor.
  3. Add the following code block snippet to Web.config:
    <system.diagnostics>
        <trace autoflush="true">
            <listeners>
                <add name="TextWriter"/>
            </listeners>
        </trace>
        <sources>
            <source name="ComponentSpace.SAML2" switchValue="Verbose">
                <listeners>
                    <add name="TextWriter"/>
                </listeners>
            </source>
        </sources>
        <sharedListeners>
            <add name="TextWriter" type="System.Diagnostics.TextWriterTraceListener"
                initializeData="App_Data/DesignTimeLogs/idp.log"/>
        </sharedListeners>
    </system.diagnostics>
  4. Save and close Web.config.
    Additional Information

    This creates an idp.log file in your CMS site root's App_Data/DesignTimeLogs folder path.

    You can change the log path by modifying the @initializeData attribute.