Skip to content

Practice project demonstrating social authentication (Google, Facebook, GitHub, Twitter) in Laravel using Socialite and Breeze.

Notifications You must be signed in to change notification settings

ahmadkhalid-dev/social-auth

Repository files navigation

Laravel Social Authentication Practice

This project is a simple implementation of social authentication using Laravel Socialite. It's intended for practice and learning purposes.

🔐 Features

  • ✅ Social Login with:
    • Google
    • Facebook
    • GitHub
    • Twitter
  • ✅ Default Laravel authentication using Laravel Breeze
  • ✅ Email verification
  • ✅ Protected routes with auth and verified middleware
  • ✅ User profile management

🗂️ Routes Overview

Route Description
/ Welcome page
/dashboard Authenticated and verified users only
/profile Edit, update, or delete profile (auth required)
/auth/social/{provider}/redirect Redirect to social provider login
/auth/social/{provider}/callback Handle provider callback

Supported provider values: google, facebook, github, twitter

🚀 Getting Started

Prerequisites

  • PHP >= 8.2
  • Composer
  • Laravel 12
  • MySQL
  • Node.js

About

Practice project demonstrating social authentication (Google, Facebook, GitHub, Twitter) in Laravel using Socialite and Breeze.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages