<?php



//You must switch $config['saml_enabled'] to TRUE into config/config.php prior using SAML



//Field Mapping : how to get the e-mail

$samlMailMap = 'User.email';



//You shouldn't change the 'sp' sub-array, but only the content of 'idp' sub-array

//Sp is specific to the application (MatcoKL)

//Idp is specific to your identity provider

$settingsInfo = array(

    'sp' => array(

        'entityId' => base_url() . 'metadata',

        'assertionConsumerService' => array(

            'url' => base_url() . 'api/acs',

        ),

        'singleLogoutService' => array(

            'url' => base_url() . 'api/sls',

        ),

        'NameIDFormat' => 'urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified',

    ),

    'idp' => array(

        'entityId' => 'https://app.onelogin.com/saml/metadata/561670',

        'singleSignOnService' => array(

            'url' => 'https://jorani.onelogin.com/trust/saml2/http-post/sso/561670',

        ),

        'singleLogoutService' => array(

            'url' => 'https://jorani.onelogin.com/trust/saml2/http-redirect/slo/561670',

        ),

        'x509cert' => '-----BEGIN CERTIFICATE-----

MIIEETCCAvmgAwIBAgIUAlUlf+CytDcqaV/rFFR5LxkXxAUwDQYJKoZIhvcNAQEF

BQAwVjELMAkGA1UEBhMCVVMxDzANBgNVBAoMBkpvcmFuaTEVMBMGA1UECwwMT25l

TG9naW4gSWRQMR8wHQYDVQQDDBZPbmVMb2dpbiBBY2NvdW50IDg3MzUzMB4XDTE2

MDcwODEyMzYxMVoXDTIxMDcwOTEyMzYxMVowVjELMAkGA1UEBhMCVVMxDzANBgNV

BAoMBkpvcmFuaTEVMBMGA1UECwwMT25lTG9naW4gSWRQMR8wHQYDVQQDDBZPbmVM

b2dpbiBBY2NvdW50IDg3MzUzMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKC

AQEAs0erB7z+dN/CBeuPakhPRhK8mtT1PikMeYbRSh6W1cHGZVR9iKxIJR29tKX7

8IuifNKXDSwWH3sumva8ADgoyvJBZYFx7ryk2I0/vh3FPYpCdJRNAWH6vcWobgHm

IlJngHZf2dZqvx8FnLhddfxv3YdDegDp8pPe5ny+fum7I6zKec26ilU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