<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
sergeiten / laravel-passport-facebook-login example snippets
/*
|--------------------------------------------------------------------------
| Application
|--------------------------------------------------------------------------
|
| The facebook ID and secret from the developer's page
|
*/
'app' => [
'id' => env('FACEBOOK_APP_ID'),
'secret' => env('FACEBOOK_APP_SECRET'),
],
/*
|--------------------------------------------------------------------------
| Registration Fields
|--------------------------------------------------------------------------
|
| The name of the fields on the user model that need to be updated,
| if null, they shall not be updated. (valid for name, first_name, last_name)
|
*/
'registration' => [
'facebook_id' => env('FACEBOOK_ID_COLUMN', 'facebook_id'),
'email' => env('EMAIL_COLUMN', 'email'),
'password' => env('PASSWORD_COLUMN', 'password'),
'first_name' => env('FIRST_NAME_COLUMN', 'first_name'),
'last_name' => env('LAST_NAME_COLUMN', 'last_name'),
'name' => env('NAME_COLUMN', 'name'),
'attach_role' => env('ATTACH_ROLE', null),
'user_picture' => env('USER_PICTURE', null),
],
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.