A Croogo plugin to enable authentication with OAuth2 identity providers. It basically wraps :
Currently, the plugin supports:
- Github
In croogo APP directory:
composer require xintesa/socialites:dev-master
Console/cake ext activate plugin Socialites
Console/cake migrations.migration run -p Socialites up
Once the plugin is active, use the example in Config/providers.default.php
to configure your application keys in:
APP/Plugin/Socialites/Config/providers.php
To show login status/button, put the following somewhere in your default layout:
echo $this->element('Socialites.login_info');