PHP code example of lezhnev74 / laravel-socialite-wix

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

    

lezhnev74 / laravel-socialite-wix example snippets


'wix' => [    
  'client_id' => env('WIX_CLIENT_ID'),  
  'client_secret' => env('WIX_CLIENT_SECRET'),  
  'redirect' => env('WIX_REDIRECT_URI') 
],

protected $listen = [
    \SocialiteProviders\Manager\SocialiteWasCalled::class => [
        // ... other providers
        \Lezhnev74\LaravelSocialiteWix\WixExtendSocialite::class.'@handle',
    ],
];

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