All Projects → codingo-me → Laravel Social Email Authentication

codingo-me / Laravel Social Email Authentication

Laravel 5.3 bootstrap app with Multi Auth, Social and Email Authentication. Google re-Captcha, Facebook, Twitter, G+ and much more..

Projects that are alternatives of or similar to Laravel Social Email Authentication

Dropzone Laravel Image Upload
Laravel 5.2 and Dropzone.js auto image uploads with removal links
Stars: ✭ 92 (-28.68%)
Mutual labels:  laravel, laravel-framework, tutorial
Laravel Verify New Email
This package adds support for verifying new email addresses: when a user updates its email address, it won't replace the old one until the new one is verified.
Stars: ✭ 90 (-30.23%)
Mutual labels:  laravel, laravel-framework
Laravel Ecommerce Iyzico
Iyzico intigrated e-Commerce system that could be developed easily in simple level.
Stars: ✭ 81 (-37.21%)
Mutual labels:  laravel, laravel-framework
Forsun Laravel
高性能的定时调度服务。
Stars: ✭ 91 (-29.46%)
Mutual labels:  laravel, laravel-framework
Laravel 5 Messenger
A Simple Laravel 5, 6, 7 & 8 Messenger with Pusher Capabilities
Stars: ✭ 75 (-41.86%)
Mutual labels:  laravel, laravel-framework
Laravel Schedulable
Schedule and unschedule eloquent models elegantly without cron jobs
Stars: ✭ 78 (-39.53%)
Mutual labels:  laravel, laravel-framework
Blog System In Laravel
Complete Blog System in Laravel
Stars: ✭ 89 (-31.01%)
Mutual labels:  laravel, laravel-framework
Laravel Dashboard Chart Tile
Create all the charts you want for your laravel dashboard
Stars: ✭ 102 (-20.93%)
Mutual labels:  laravel, laravel-framework
Hrms
Human Resource Management System automation using Laravel 5.2
Stars: ✭ 98 (-24.03%)
Mutual labels:  laravel, laravel-framework
Thumbnail
Thumbnail for a given video using FFMpeg
Stars: ✭ 96 (-25.58%)
Mutual labels:  laravel, laravel-framework
Laraupdater
Enable Laravel App Self-Update. Allow your Laravel Application to auto-update itself.
Stars: ✭ 75 (-41.86%)
Mutual labels:  laravel, laravel-framework
Laravel Api Boilerplate
A Boilerplate Project For Laravel API's (NOT MAINTAINED)
Stars: ✭ 113 (-12.4%)
Mutual labels:  laravel, laravel-framework
Pingcrm Svelte
🦊 Ping CRM Svelte - A demo app to illustrate how Inertia.js works with Laravel and Svelte (hosted on a heroku free dyno).
Stars: ✭ 74 (-42.64%)
Mutual labels:  laravel, laravel-framework
Brandenburg
Laravel Authentication Package
Stars: ✭ 79 (-38.76%)
Mutual labels:  laravel, laravel-framework
Gtrader
a trading strategy trainer, back-tester and bot
Stars: ✭ 71 (-44.96%)
Mutual labels:  laravel, laravel-framework
Backup
MySQL Database backup package for Laravel
Stars: ✭ 66 (-48.84%)
Mutual labels:  laravel, laravel-framework
Laravel Course
Laravel Essentials Udemy course Full Source Code
Stars: ✭ 59 (-54.26%)
Mutual labels:  laravel, laravel-framework
Laravel Potion
laravel - Potion is a pure PHP asset manager for Laravel 5 based off of Assetic.
Stars: ✭ 63 (-51.16%)
Mutual labels:  laravel, laravel-framework
Admin One Laravel Dashboard
Admin One — Free Laravel Dashboard (Bulma Buefy Vue.js SPA)
Stars: ✭ 94 (-27.13%)
Mutual labels:  laravel, laravel-framework
Crudbooster
Laravel CRUD Generator, Make an Advanced Web Application Quickly
Stars: ✭ 1,580 (+1124.81%)
Mutual labels:  laravel, laravel-framework

Laravel Social and Email Authentication

This project is related to tutorial from Codingo Tuts, you can checkout Live Demo Here ⚡️.

In the tutorial I am creating Laravel application with email authentication and user roles, but I am also using [Laravel Socialite] for Facebook, Twitter, Google+ and GitHub logins. At the end of this tutorial you will be able to use any other social provider in matter of seconds.

Application posses built-in email activation service, which can be stopped or started by changing ACTIVATION flag in .env file.

On registration form via email, users are required to complete Google Re-captcha.

Frontend uses Bootstrap 4 and Material Design for Bootstrap free theme.

Login Page Design

What is covered

Everything is covered there so new Laravel developers can grasp it quickly. I am following simple plan while I am developing:

This plan is not strict and if you are familiar with something you may just skip that part.

Implementing new Social Providers in under 20 seconds

Main beauty is modular approach in implementing new Socialite providers. Application uses 2 routes one for redirecting user to certain social site and other to accept response from that site:

$s = 'social.';
Route::get('/social/redirect/{provider}',   ['as' => $s . 'redirect',   'uses' => 'Auth\[email protected]']);
Route::get('/social/handle/{provider}',     ['as' => $s . 'handle',     'uses' => 'Auth\[email protected]']);

To add new social provider you just need to insert new element in services.php like this:

    'facebook' => [
        'client_id'     => env('FB_ID'),
        'client_secret' => env('FB_SECRET'),
        'redirect'      => env('FB_REDIRECT')
    ],

    'twitter' => [
        'client_id'     => env('TW_ID'),
        'client_secret' => env('TW_SECRET'),
        'redirect'      => env('TW_REDIRECT')
    ],

And now you need to create new login link using following route:

route('social.redirect', ['provider' => 'provider_key_from_services']); //example
route('social.redirect', ['provider' => 'facebook']);
route('social.redirect', ['provider' => 'twitter']);

Todo's

Project is not over, I will publish few more tutorials regarding this matter. You can expect:

  • Handling when user disallows social app access
  • Taking emails of users who sign-up over Twitter and other providers which don't share that data
  • User account actions, like change password, change email etc
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].