feat(auth): implement Google OAuth integration with user authentication and token exchange
This commit is contained in:
@@ -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');
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user