PHP code example of sander0542 / sander-auth-socialite

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

    

sander0542 / sander-auth-socialite example snippets


Socialite::with('sander-auth')->redirect();

"repositories": [
  {
    "type": "vcs",
    "url":  "[email protected]:sander0542/sander-auth-socialite.git"
  }
]

protected $listen = [
  // a whole bunch of listeners
  \SocialiteProviders\Manager\SocialiteWasCalled::class => [
    // add your listeners (aka providers) here
    'SocialiteProviders\\SanderAuth\\SanderAuthExtendSocialite@handle',
  ],
];

'sander-auth' => [
  'client_id' => env('SANDER_AUTH_CLIENT_ID'),
  'client_secret' => env('SANDER_AUTH_CLIENT_SECRET'),
  'redirect' => env('SANDER_AUTH_REDIRECT_URI'),
],