PHP code example of dzaki236 / secure-google-provider
1. Go to this page and download the library: Download dzaki236/secure-google-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/ */
dzaki236 / secure-google-provider example snippets
Socialite::driver('google')->redirect();
use Laravel\Socialite\Facades\Socialite;
Socialite::driver('secure-google')->redirect(); // For redirect, you will redirect to page oAuth by google services
$social_user = Socialite::driver('secure-google')->user(); // For redirect, you will redirect to page oAuth by google services
....
'google' => [
....
// Start from this part :
'verify' => [
'force' => false
],
// End part
],
];
config/services.php
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.