dev-master
9999999-dev https://github.com/neuweb/IdAuthZend Framework 2 Content Management System Auth Module, can be run independent of zcms
New BSD License
The Requires
The Development Requires
authentication auth zf2 identity identity provider
Wallogit.com
2017 © Pedro Peláez
Zend Framework 2 Content Management System Auth Module, can be run independent of zcms
The module now functional but needs a lot of work and unit tests. Getting the module working on your own may take quite a lot of work as I haven't had time to add proper documentation on how to configure the module yet. I'm working on completing the documentation once the vision of the module is more or less implemented in the code., (*2)
Please note the 100% coverage indicator is currently not accurate as it only has one test file with 100% coverage :), (*3)
IdAuth is designed to be a multi provider identity and authentication system. Where as most modules that are currently available only allow single authentication systems the aim is to provide, access to many different authentication systems including Facebook / Github etc as additional providers., (*4)
To install this module you can use composer with the following command:, (*5)
php composer.phar require nitecon/idauth:dev-master
Please note that this module REQUIRES doctrine to work, and also provides fixtures to import the initial user account into your database. Steps to enable this module include the following:, (*6)
return array(
'modules' => array(
'DoctrineModule',
'DoctrineORMModule',
'DoctrineDataFixtureModule',
'IdAuth',
// ... Rest of your modules
);
config/autoload/global.php but please make sure
never to store your passwords in the global file, they should be stored in config/autoload/global.php instead:
return array(
'doctrine' => array(
'connection' => array(
// default connection name
'orm_default' => array(
'driverClass' => 'Doctrine\DBAL\Driver\PDOMySql\Driver',
'params' => array(
'host' => 'localhost',
'port' => '3306',
'user' => 'testuser',
'password' => 'testpass',
'dbname' => 'testdatabase',
)
)
)
),
// More of your global configurations
);
cp ./vendor/nitecon/idauth/config/idauth.global.php.dist config/autoload/idauth.global.php
Feel free to edit the file with additional changes. 5. Install the database with the following command from your project root:, (*7)
./vendor/bin/doctrine-module orm:schema-tool:create
With fixtures module active it should install the admin user to your database at this point. If you do not see the admin user listed in the database then you may need to run the importer manually with:, (*8)
./vendor/bin/doctrine-module data-fixture:import
At this point you should be installed and ready to go. You can already attempt a log in with the default admin
user admin and password Tru5tme, (*9)
To log into the application point your browser to /user/login, (*10)
Zend Framework 2 Content Management System Auth Module, can be run independent of zcms
New BSD License
authentication auth zf2 identity identity provider