Dolotboy / Laravel9.x-Facebook-Login

Facebook Login with Laravel using Socialite.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Laravel Facebook Login

Facebook Login with Laraval using Socialite package.

Screenshot

Getting this app up and running

  • make sure you already have xampp or wamp installed if you are on windows machine, mamp for mac , and lamp for linux.

  • clone this repository to your local machine or just download the zip.

  • install Composer first, then run this command in your command-line (you should be inside your project directory).

  composer install
  composer require laravel/ui:*
  composer update -W
  • rename .env.example to .env and add your database and facebook 0Auth credentials.

  • generate application key.

    php artisan key:generate
  • create database tables.
    php artisan migrate
  • Facebook login does not work unless we are using HTTPS. You can read complete tutorial on medium where I create this login app as well as HTTPS Virtual host with xampp for Ubuntu/Windows. You can use the following command to serve on a HTTPS port.
    php artisan serve --port=443

About

Facebook Login with Laravel using Socialite.


Languages

Language:PHP 83.3%Language:Blade 16.1%Language:Vue 0.5%