I have the same issue with CMS 2.0.2
created new file named settings-custom.php inside custom folder.
Blockquote <?php
$authentication = new \Xibo\Middleware\SAMLAuthentication();
$samlSettings = array (
‘workflow’ => array(
‘jit’ => true,
‘field_to_identify’ => ‘UserName’, // Alternatives: UserID, UserName, email
‘libraryQuota’ => 1000,
‘group’ => ‘Users’,
‘homePage’ => ‘dashboard’,
‘slo’ => true,
‘mapping’ => array (
‘UserID’ => ‘’,
‘usertypeid’ => ‘’,
‘UserName’ => ‘username’,
‘email’ => ‘email’,
‘ref1’ => ‘’,
‘ref2’ => ‘’,
‘ref3’ => ‘’,
‘ref4’ => ‘’,
‘ref5’ => ‘’
)
),
// Configure the IdP and SP
‘strict’ => false,
‘debug’ => true,
‘idp’ => array (
‘entityId’ => ‘IDP METADATA’,
‘singleSignOnService’ => array (
‘url’ => ‘IDP LOGIN’,
),
‘singleLogoutService’ => array (
‘url’ => ‘IDP LOGOUT’,
),
‘x509cert’ => ‘CERT’,
),
‘sp’ => array (
‘entityId’ => ‘SP METADATA’,
‘assertionConsumerService’ => array (
‘url’ => ‘SP LOGIN’,
),
‘singleLogoutService’ => array (
‘url’ => ‘SP LOGOUT’,
),
‘NameIDFormat’ => ‘urn:oasis:names:tc:SAML:2.0:nameid-format:emailAddress’,
‘x509cert’ => ‘’,
‘privateKey’ > ‘’,
),
‘security’ => array (
‘nameIdEncrypted’ => false,
‘authnRequestsSigned’ => false,
‘logoutRequestSigned’ => false,
‘logoutResponseSigned’ => false,
‘signMetadata’ => false,
‘wantMessagesSigned’ => false,
‘wantAssertionsSigned’ => false,
‘wantAssertionsEncrypted’ => false,
‘wantNameIdEncrypted’ => false,
)
);