Welcome Guest, Not a member yet? Register   Sign In
Integrating SAML
#1
Sad 

Hello, I am trying to integrate SAML with my CI app using config/autoload.php.

Below is the library I need throughout my CI app
PHP Code:
$path '/usr/share/simplesamlphp/lib';
set_include_path(get_include_path() . PATH_SEPARATOR $path);
require_once(
'_autoload.php'); 

I tried to insert the above code into config/autoload.php under "Auto-load packages" like this (I am not even sure if this is how I'm supposed to do it)

PHP Code:
$path '/usr/share/simplesamlphp/lib';
set_include_path(get_include_path() . PATH_SEPARATOR $path);

$autoload['packages'] = array($path.'_autoload''/usr/share/simplesamlphp/lib'); 
However, it is not working. Can anybody help me in trying to autoload SAML? I'd appreciate any help here.

Another alternative solution is to try this: https://forum.codeigniter.com/thread-72086.html
Reply


Messages In This Thread
Integrating SAML - by omartoutounji - 03-10-2020, 07:33 PM



Theme © iAndrew 2016 - Forum software by © MyBB