Git Product home page Git Product logo

laravel-social-lite-demo's Introduction

laravel-social-lite-demo

This Repository discribe how to use Social authentication with Laravel's Official SocialLite Package. You can use your social logins as well.

Getting Started

Official Package -> `https://github.com/laravel/socialite`

Installation:

  1. Clone the repository and import it to your favorite IDE.

  2. Run the fallowing Command.

    composer install

  3. Make a copy of .env.example and Rename it to .env

  4. Run the fallowing Command

    php artisan key:generate

  5. Set Database credentials.

  6. Add your Social Account's CLIENT_SECRETS

    Facebook

    - Go to the 'https://developers.facebook.com'
    
    - Then, click `Create App`
    
    - Fill the `Display Name` & `Contact Email` then Click `Create App ID` button.
    
    - You can display a App Dashboard. click `Settings  > Basic.`
    
    - Copy `App ID` & `App Secret`
    
    - Paste into the `.env`
    
    - then fill the app domain as 'localhost'
    
    - Save changes
    

    GitHub

    - Go to the https://github.com
    
    - Then go to the Settings >  Developer settings.
    
    - Click OAuth Apps.
    
    - then click New OAuth App
    
    - Fill the details necessary
    
    - Register Application
    
  7. Run fallowing Command.

    php artisan migrate

  8. Run your project using fallowing command.

    php artisan serve --port=8081

Demo enter image description here

laravel-social-lite-demo's People

Contributors

dependabot[bot] avatar dilshan97 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.