added socialite and some hacks via vendor sideload to add social login

This commit is contained in:
2018-07-08 23:59:32 +02:00
parent d1fa087121
commit 6e2040249b
123 changed files with 4356 additions and 6 deletions
@@ -0,0 +1,26 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
class CreateOauthIdentitiesTable extends Migration
{
public function up()
{
$tableName = Config::get('eloquent-oauth.table');
Schema::create($tableName, function (Blueprint $table) {
$table->increments('id');
$table->integer('user_id')->unsigned();
$table->string('provider_user_id');
$table->string('provider');
$table->string('access_token');
$table->timestamps();
});
}
public function down()
{
$tableName = Config::get('eloquent-oauth.table');
Schema::drop($tableName);
}
}