PHP code example of burger-digital / blackbaud-socialite-provider

1. Go to this page and download the library: Download burger-digital/blackbaud-socialite-provider library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

burger-digital / blackbaud-socialite-provider example snippets


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

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

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