2017 © Pedro Peláez
 

cakephp-plugin socialites

Socialites plugin

image

xintesa/socialites

Socialites plugin

  • Friday, January 30, 2015
  • by rchavik
  • Repository
  • 1 Watchers
  • 2 Stars
  • 10 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 1 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Socialites plugin

A Croogo plugin to enable authentication with OAuth2 identity providers. It basically wraps : * thephpleague/oauth1-client * thephpleague/oauth2-client, (*1)

Currently, the plugin supports:, (*2)

  • Github
  • Facebook
  • Google
  • Twitter

Installation

In croogo APP directory:, (*3)

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:, (*4)

APP/Plugin/Socialites/Config/providers.php

To show login status/button, put the following somewhere in your default layout:, (*5)

    echo $this->element('Socialites.login_info');

The Versions