Route::get('auth/redirect/{driver}', [SocialiteController::class, 'redirect'])->name('socialite'); Route::get('auth/callback/{driver}', [SocialiteController::class, 'callback']); When a user visits the first route, the user will be redirected to Google/GitHub.
Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future.