name('auth.login'); Route::prefix('oauth')->group(function () { Route::get('/redirect/{driver}', [OAuthController::class, 'redirect'])->name('auth.oauth.redirect'); Route::get('/callback/{driver}', [OAuthController::class, 'callback'])->name('auth.oauth.callback')->withoutMiddleware('guest'); });