feat(auth): implement Google OAuth integration with user authentication and token exchange

This commit is contained in:
2026-07-22 13:43:14 -03:00
parent 855ac13990
commit 873855c85a
10 changed files with 272 additions and 2 deletions

View File

@@ -1,7 +1,11 @@
<?php
use App\Domains\Auth\Controllers\GoogleAuthController;
use Illuminate\Support\Facades\Route;
Route::get('/auth/google/redirect', [GoogleAuthController::class, 'redirect'])->name('auth.google.redirect');
Route::get('/api/auth/google/callback', [GoogleAuthController::class, 'callback'])->name('auth.google.callback');
Route::get('/', function () {
return view('welcome');
});