From version 1.3.0 of clearFusionCMS centralized authentication is supported, this allows an install of clearFusionCMS to act as a master and have many other installations authenticate their users against the master.
While the master controls authenticate and the roles assigned to each user the slaves control the permissions granted to each role, therefore you can control how a member of each role is able to access each of the slaves.
To enable centralized authentication you need to first install the master then:
Next install the slave and once complete you can use your favourite FTP client to editthe configuration file located at system/app/config/appConfig.php, you need to locate the following lines:
//$config['userAdapter'] = 'flUserAdapterRemote'; //$config['userAdapterEndpoint'] = ''; //$config['userAdapterAPIKey'] = ''; //$config['userAdapterCacheTime'] = 60;
These three lines provide the information required to allow clearFusionCMS to authenticate against a remote master.
If the master managers interface is at https://www.example.com/manager/ and the API key generated in step 2 above is 9ce56c69fd319ecd5df69d4c8d1777a58caf7605 then you need to change the above configuration options to:
$config['userAdapter'] = 'flUserAdapterRemote'; $config['userAdapterEndpoint'] = 'https://www.example.com/manager/api/'; $config['userAdapterAPIKey'] = '9ce56c69fd319ecd5df69d4c8d1777a58caf7605';
$config['userAdapterCacheTime'] only needs to be changed if you want to change from the default cache time of 60 seconds.