2017 © Pedro PelĂĄez
 

library socialite-clio

Clio OAuth2 Provider for Laravel Socialite

image

cesarga/socialite-clio

Clio OAuth2 Provider for Laravel Socialite

  • Tuesday, June 19, 2018
  • by cesarga
  • Repository
  • 1 Watchers
  • 0 Stars
  • 1 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

socialite-clio

Clio OAuth2 Provider for Laravel Socialite., (*1)

install

composer require cesarga/socialite-clio

register

app/Providers/EventServiceProvider.php, (*2)

/**
 * The event listener mappings for the application.
 *
 * @var array
*/
protected $listen = [

    // ...

    'SocialiteProviders\\Manager\\SocialiteWasCalled' => [
        'SocialiteProviders\\Clio\\ClioExtendSocialite@handle',
    ],

    // ...

];

configure

config/services.php, (*3)

return [

    // ...

    'clio' => [
        'base_url' => env('CLIO_BASE_URL', 'https://app.clio.com'),
        'client_id' => env('CLIO_APP_KEY'),
        'client_secret' => env('CLIO_APP_SECRET'),
        'redirect' => env('CLIO_APP_REDIRECT'),
    ],

    // ...

];

.env, (*4)

CLIO_BASE_URL=https://eu.app.clio.com
CLIO_APP_KEY=C8dEOljM3EHMK6h4Em8DkmZuzovW6R4JcW06RcMH
CLIO_APP_SECRET=R1bOno3oEt9qUoCYm7vlIKylfJ1nD1OJY0Jc3WVT
CLIO_APP_REDIRECT=http://laravel.local/oauth/clio/callback

start building

return Socialite::driver('clio')->redirect();

The Versions

19/06 2018

dev-master

9999999-dev https://github.com/cesarga/socialite-clio

Clio OAuth2 Provider for Laravel Socialite

  Sources   Download

MIT

The Requires

 

laravel socialite clio

19/06 2018

v1.0.0

1.0.0.0 https://github.com/cesarga/socialite-clio

Clio OAuth2 Provider for Laravel Socialite

  Sources   Download

MIT

The Requires

 

laravel socialite clio