burger-digital/blackbaud-socialite-provider

Blackbaud OAuth2 Provider for Laravel Socialite

0.0.2 2021-01-13 00:34 UTC

This package is auto-updated.

Last update: 2021-09-13 02:13:04 UTC


README

composer require burger-digital/blackbaud-socialite-provider

Register in EventServiceProvider.php

protected $listen = [
    \SocialiteProviders\Manager\SocialiteWasCalled::class => [
        'SocialiteProviders\Blackbaud\BlackbaudExtendSocialite@handle'
    ],
];

Configure in services.php

'blackbaud' => [
    'client_id' => env('BLACKBAUD_KEY'),
    'client_secret' => env('BLACKBAUD_SECRET'),
    'redirect' => env('BLACKBAUD_REDIRECT_URI'),
]

Start building

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