SAML - simplesamlphp |
Hi All,
I've finally cracked this If you find yourself in a situation where you want to integrate saml based SSO with your CI app then read on.. The key to success was to NOT use the phpsession driver for SimpleSAMLphp. Once i've switched to using a SQL database for it, the session restore functionality started working. So, just ensure that the config/config.php is not using phpsession as storetype: PHP Code: 'store.type' => 'sql', Then it as simple as the below to integrate authentication in codeigniter: PHP Code: public function auth() My plan is to get the above integrated with Ion Auth, where the above function will use hooks set up and log in the users locally, then i can use Ion Auth to manage the authorizations to different parts of the application |
Messages In This Thread |
SAML - simplesamlphp - by qury - 11-02-2018, 05:31 PM
RE: SAML - simplesamlphp - by qury - 11-05-2018, 10:59 AM
|