Opauth for Yii Framework
What is Opauth for Yii Framework?
Opauth provides a standardized way to interface with 3rd-party authentication providers. Unlike many current authentication frameworks, Opauth does not deal with database, so developers are not forced to adhere to predetermined database schema.
You can include strategies from the Opauth strategy list.
How to make it work
Deploy it by placing it the whole opauth directory into
And in your
opauth to begin:
<?php return array( ... 'modules' => array( 'opauth' => array( 'opauthParams' => array( 'Security.salt' => 'LDFmiilYf8Fyw5W10rx4W1KsVrieQCnpBzzpTBWA5vJidQKDx8pMJbmw28R1C4m', 'Strategy' => array( 'facebook' => array( 'app_id' => 'YOUR_FACEBOOK_APP_ID', 'app_secret' => 'YOUR_FACEBOOK_APP_SECRET', ) ), ), ), ), ... );
If you have any issues, please highlight them in yii-opauth's GitHub issues.