PHP code example of leroy-merlin-br / pingid-socialite-provider
1. Go to this page and download the library: Download leroy-merlin-br/pingid-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/ */
leroy-merlin-br / pingid-socialite-provider example snippets
'pingid' => [
'base_url' => env('PINGID_BASE_URL'),
'client_id' => env('PINGID_CLIENT_ID'),
'client_secret' => env('PINGID_CLIENT_SECRET'),
'redirect' => env('PINGID_REDIRECT_URI'),
'logout_redirect' => env('PINGID_LOGOUT_REDIRECT_URI'),
],
protected $listen = [
\SocialiteProviders\Manager\SocialiteWasCalled::class => [
// ... other providers
\SocialiteProviders\PingID\PingIDExtendSocialite::class,
],
];
return Socialite::driver('pingid')->redirect();