PHP code example of mijnkantoor / socialite

1. Go to this page and download the library: Download mijnkantoor/socialite 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/ */

    

mijnkantoor / socialite example snippets


'mijnkantoorapp' => [    
  'client_id' => env('MIJNKANTOORAPP_CLIENT_ID'),  
  'client_secret' => env('MIJNKANTOORAPP_CLIENT_SECRET'),  
  'redirect' => env('MIJNKANTOORAPP_REDIRECT_URI') 
],

protected $listen = [
    \SocialiteProviders\Manager\SocialiteWasCalled::class => [
        // ... other providers
        'MijnKantoor\\Socialite\\MijnKantoorAppExtendSocialite@handle',
    ],
];

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